diff options
author | dan sinclair <dsinclair@google.com> | 2020-06-22 16:33:29 +0300 |
---|---|---|
committer | dan sinclair <dsinclair@google.com> | 2020-06-22 16:33:29 +0300 |
commit | 0abc01750146afe12ca2bfbd546f34ae4f3926df (patch) | |
tree | 1c2845fcb6d3b1db1c389d387a8eb51c644b05e8 /reference/shaders | |
parent | 7edaea87cf052b9c18a92f919dfec27be2ce9ad9 (diff) |
Roll deps and update tests.
This CL rolls the GLSlang, SPIRV-Tools and SPIRV-Headers dependencies
and updates the various test files.
Diffstat (limited to 'reference/shaders')
-rw-r--r-- | reference/shaders/comp/cfg.comp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/reference/shaders/comp/cfg.comp b/reference/shaders/comp/cfg.comp index 77ad312c..a91c8732 100644 --- a/reference/shaders/comp/cfg.comp +++ b/reference/shaders/comp/cfg.comp @@ -8,7 +8,7 @@ layout(binding = 0, std430) buffer SSBO void test() { - if (_11.data != 0.0) + if (!(_11.data == 0.0)) { float tmp = 10.0; _11.data = tmp; @@ -18,12 +18,12 @@ void test() float tmp_1 = 15.0; _11.data = tmp_1; } - if (_11.data != 0.0) + if (!(_11.data == 0.0)) { float e; - if (_11.data != 5.0) + if (!(_11.data == 5.0)) { - if (_11.data != 6.0) + if (!(_11.data == 6.0)) { e = 10.0; } @@ -70,7 +70,7 @@ void test() float m; do { - } while (m != 20.0); + } while (!(m == 20.0)); _11.data = m; } |