Repository navigation
GPU Blit Filter - #343
Merged
Merged
GPU Blit Filter#343
Conversation
…add a new BlitFilterTest example.
…computation of the LUT is decoupled from the execute function, among other things.
… the blit filter and it more or less works.
…ith LUT now, and it seems to work perfectly.
…ements Kogge-Stone Adder working.
…no matter how big the image, as long as we can create it.
…g point error for some points.
…tPixels) and directly preload into scratchShared. Reduces shared memory consumption by a factor of 2.
… simple test case.
…he original test case which found the bug as well.
…ith a single workgroup.
…RENCE_OR_COVERAGE_MODE.
… to lower alpha bound in the normalization shader.
…for the Alpha Test and Normalization passes.
… info for all 3 passes.
Comment on lines
+108
to
+111
| else if (axis == 1) | ||
| kernelWeightIndex = params.phaseCount.x * params.windowDim.x + windowPhase * params.windowDim.y; | ||
| else if (axis == 2) | ||
| kernelWeightIndex = params.phaseCount.x * params.windowDim.x + params.phaseCount.y * params.windowDim.y + windowPhase * params.windowDim.z; |
There was a problem hiding this comment.
precompute the Y and Z axis offsets and put them in the push constants
Contributor
Author
There was a problem hiding this comment.
I think we have already exhausted the 128 byte required push constant limit.
There was a problem hiding this comment.
things can be packed
…Filter. Abstract out common parts from alloc_decode_scratch. Intentionally committing some dead code so that it will be checked in the source control and it will be easier for us to tear down the abstraction later if we don't want it.
42 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description:
I have added some basic tests. We can add more if we want.
TODO list:
- Decide where to put the files- Decide where to put the common (to both CPU & GPU blit filter) LUT computation code