Add support for gl_SampleMask for single-sampled targets.
When dealing with a single-sampled target, gl_SampleMask
is always be set to 0xFFFFFFFF. And when the target is
single-sampled, sample shading is disabled to enable
Bresenham line rasterization.
Bug: angleproject:3588
Tests: dEQP-GLES31.functional.shaders.sample_variables.
sample_mask.discard_half_per_pixel.*
sample_mask.discard_half_per_sample.*
sample_pos.correctness.*
sample_mask_in.bit*_per_two_samples.*
sample_mask.discard_half_per_two_samples.*
sample_mask.inverse_per_*
Change-Id: Ibb471261b8451ff01fab3dc43f2e965ae2999610
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2477909Reviewed-by:
Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by:
Jamie Madill <jmadill@chromium.org>
Commit-Queue: Mohan Maiya <m.maiya@samsung.com>
| 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... |