This is a reland of ff38106d Original change's description: > Vulkan: Use specialization constant for halfRenderAreaWidth > > halfRenderArea is used by fragment shader to adjust gl_FragCoord for > rotation and yflip compensation. This CL bakes halfRenderAreaWidth into > shader via specialization constant, thus allow compiler to consolidate > the calculation into one MAD instruction. > > Bug: b/173800146 > Change-Id: Id66301278e3389e2582369b695825e632bccecee > Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2551541 > Commit-Queue: Charlie Lao <cclao@google.com> > Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org> > Reviewed-by: Tim Van Patten <timvp@google.com> > Reviewed-by: Jamie Madill <jmadill@chromium.org> Bug: b/173800146 Change-Id: Ifc36086f4c5d6a44fb5456aa6e31bc8a783bba71 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2579648 Commit-Queue: Charlie Lao <cclao@google.com> Reviewed-by:Shahbaz Youssefi <syoussefi@chromium.org> Reviewed-by:
Tim Van Patten <timvp@google.com> Reviewed-by:
Jamie Madill <jmadill@chromium.org>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| BuiltIn.h | Loading commit data... | |
| BuiltIn_ESSL_autogen.h | Loading commit data... | |
| BuiltIn_complete_autogen.h | Loading commit data... | |
| DriverUniform.cpp | Loading commit data... | |
| DriverUniform.h | Loading commit data... | |
| FindFunction.cpp | Loading commit data... | |
| FindFunction.h | Loading commit data... | |
| FindMain.cpp | Loading commit data... | |
| FindMain.h | Loading commit data... | |
| FindSymbolNode.cpp | Loading commit data... | |
| FindSymbolNode.h | Loading commit data... | |
| FlipRotateSpecConst.cpp | Loading commit data... | |
| FlipRotateSpecConst.h | Loading commit data... | |
| IntermNodePatternMatcher.cpp | Loading commit data... | |
| IntermNodePatternMatcher.h | Loading commit data... | |
| IntermNode_util.cpp | Loading commit data... | |
| IntermNode_util.h | Loading commit data... | |
| IntermTraverse.cpp | Loading commit data... | |
| IntermTraverse.h | Loading commit data... | |
| NodeSearch.h | Loading commit data... | |
| ReplaceArrayOfMatrixVarying.cpp | Loading commit data... | |
| ReplaceArrayOfMatrixVarying.h | Loading commit data... | |
| ReplaceClipDistanceVariable.cpp | Loading commit data... | |
| ReplaceClipDistanceVariable.h | Loading commit data... | |
| ReplaceShadowingVariables.cpp | Loading commit data... | |
| ReplaceShadowingVariables.h | Loading commit data... | |
| ReplaceVariable.cpp | Loading commit data... | |
| ReplaceVariable.h | Loading commit data... | |
| RewriteSampleMaskVariable.cpp | Loading commit data... | |
| RewriteSampleMaskVariable.h | Loading commit data... | |
| RunAtTheBeginningOfShader.cpp | Loading commit data... | |
| RunAtTheBeginningOfShader.h | Loading commit data... | |
| RunAtTheEndOfShader.cpp | Loading commit data... | |
| RunAtTheEndOfShader.h | Loading commit data... | |
| Visit.h | Loading commit data... |