summaryrefslogtreecommitdiff
path: root/tests/cross-compile/precise-keyword.slang
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2024-01-24 15:36:49 -0800
committerGitHub <noreply@github.com>2024-01-24 15:36:49 -0800
commite7b6de334f320429462a0257e2191ccf3cbc9a0d (patch)
tree7e2f6802a2f6fa5217903948efbd994b51e103b7 /tests/cross-compile/precise-keyword.slang
parentdd57306d951dbcaf6471659fcd1d2c37738f36d0 (diff)
[SPIRV] Support `globallycoherent` and `[vk::index()]`. (#3488)
* [SPIRV] Support `globallycoherent` modifier. * Fix. * Disable executable cooperative vector tests. * Update expected failure. * [SPIRV] Emit varying output index decoration. * Add test. * Update tests. * Fix test. * Emit `SpvExecutionModeEarlyFragmentTests`. * Lower `StructuredBuffer<bool>`. * Support globallycoherent on ByteAddressBuffer. --------- Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'tests/cross-compile/precise-keyword.slang')
-rw-r--r--tests/cross-compile/precise-keyword.slang4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/cross-compile/precise-keyword.slang b/tests/cross-compile/precise-keyword.slang
index 5ebfd35ad..9be605e0c 100644
--- a/tests/cross-compile/precise-keyword.slang
+++ b/tests/cross-compile/precise-keyword.slang
@@ -1,11 +1,13 @@
// precise-keyword.slang
-//TEST:CROSS_COMPILE:-target spirv-assembly -entry main -stage fragment
+//TEST:SIMPLE(filecheck=SPIRV): -target spirv-assembly -entry main -stage fragment
//TEST:CROSS_COMPILE:-target dxbc-assembly -entry main -stage fragment
//TEST:CROSS_COMPILE:-target dxil-assembly -entry main -stage fragment -profile sm_6_0
// Test handling of the `precise` keyword
+// SPIRV: OpEntryPoint
+
float4 main(float2 v : V) : SV_Target
{
precise float z;