Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move the clearing of indirect arguments to a seperate pass #8

Merged
merged 1 commit into from
Sep 27, 2018

Conversation

ashleysmithgpu
Copy link
Contributor

The order of execution of FilterCS() within a Dispatch() is not determinate, so we need to run the clear in a previous pass.

Copy link
Contributor

@Anteru Anteru left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The .inc files needs to get updated as well (by compiling the shader and re-generating the header.)

@@ -341,6 +342,11 @@ class SmallBatchChunk

context->CSSetShader (filterShader, nullptr, 0);

if (currentBatchCount_ > 1)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does this bit do? That seems wrong.

The order of execution of FilterCS() within a Dispatch() is not determinate, so we need to run the clear in a previous pass. Also update shader files.
@ashleysmithgpu
Copy link
Contributor Author

Updated the shader .inc files as requested, the extra dispatch was an accidental commit from me testing some code, apologies for that.

@Anteru Anteru merged commit 02c4139 into GPUOpen-Effects:master Sep 27, 2018
@Anteru
Copy link
Contributor

Anteru commented Sep 27, 2018

Thanks a lot for the quick turnaround on the changes!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants