diff options
| author | Yong He <yonghe@outlook.com> | 2024-11-19 09:03:48 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-19 09:03:48 -0800 |
| commit | fa917fedc89287778eef65a62413ff09d1065d97 (patch) | |
| tree | 6ed3a8e5b6560aef8c3f1a8f6ac1f82ed486496e /tests | |
| parent | 75d65d36608cf4653490f0a04a17d1ee057b47a6 (diff) | |
Fix specialization constant miscompile in glsl mode. (#5568)
Co-authored-by: Ellie Hermaszewska <ellieh@nvidia.com>
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/spirv/specialization-constant.slang | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/spirv/specialization-constant.slang b/tests/spirv/specialization-constant.slang index 63141d25e..dbf315926 100644 --- a/tests/spirv/specialization-constant.slang +++ b/tests/spirv/specialization-constant.slang @@ -1,4 +1,6 @@ +//TEST:SIMPLE(filecheck=GLSL): -target glsl -allow-glsl //TEST:SIMPLE(filecheck=GLSL): -target glsl +//TEST:SIMPLE(filecheck=CHECK): -target spirv -allow-glsl //TEST:SIMPLE(filecheck=CHECK): -target spirv // CHECK-DAG: OpDecorate %[[C0:[0-9A-Za-z_]+]] SpecId 0 |
