summaryrefslogtreecommitdiff
path: root/tests/cross-compile
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2020-09-21 08:27:10 -0700
committerGitHub <noreply@github.com>2020-09-21 08:27:10 -0700
commit83514bd25160a9af91abc1b9acd7e44657447526 (patch)
treecd364f0b519baa9c840002a8fa0a0ed84bebe59e /tests/cross-compile
parent21339e802d77981bbc64cc21cc1315cc41932f35 (diff)
Enable all dynamic dispatch tests on CUDA. (#1552)
* Enable all dynamic dispatch tests on CUDA. * Fix expected cross-compile test results.
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;
}