summaryrefslogtreecommitdiff
path: root/tests/cross-compile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cross-compile')
-rw-r--r--tests/cross-compile/sv-coverage.slang.glsl7
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/cross-compile/sv-coverage.slang.glsl b/tests/cross-compile/sv-coverage.slang.glsl
index 04728e81b..2a8ff0734 100644
--- a/tests/cross-compile/sv-coverage.slang.glsl
+++ b/tests/cross-compile/sv-coverage.slang.glsl
@@ -9,11 +9,8 @@ in vec4 _S2;
void main()
{
- uint _S3 = uint(gl_SampleMaskIn[0]);
- uint _S4;
-
- _S4 = _S3 ^ uint(1);
+ uint _S3 = uint(gl_SampleMaskIn[0]) ^ uint(1);
_S1 = _S2;
- gl_SampleMask[0] = int(_S4);
+ gl_SampleMask[0] = int(_S3);
return;
}