diff options
| author | Yong He <yonghe@outlook.com> | 2024-11-02 20:35:22 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-02 20:35:22 -0700 |
| commit | f4d5aa73fb72a483f04bb6b014e80192331504ea (patch) | |
| tree | 6b3143b85f05ccba735beb7b98531104e8445053 /tests/compute | |
| parent | 61cddbee405935fa8391a757a08bcbe4ea7ac98f (diff) | |
Revert uint<->int implicit cast cost to prefer promotion to unsigned. (#5480)
Diffstat (limited to 'tests/compute')
| -rw-r--r-- | tests/compute/unbounded-array-of-array-syntax.slang | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/compute/unbounded-array-of-array-syntax.slang b/tests/compute/unbounded-array-of-array-syntax.slang index 10c4d277f..c0508894a 100644 --- a/tests/compute/unbounded-array-of-array-syntax.slang +++ b/tests/compute/unbounded-array-of-array-syntax.slang @@ -1,6 +1,6 @@ //IGNORE_TEST:CPU_REFLECTION: -profile cs_5_0 -entry computeMain -target cpp //DISABLED_TEST(compute):COMPARE_COMPUTE_EX:-cpu -compute -//TEST:CROSS_COMPILE:-target dxbc-assembly -entry computeMain -profile cs_5_1 +//TEST:SIMPLE(filecheck=DXIL):-target dxbc-assembly -entry computeMain -profile cs_5_1 //TEST:SIMPLE(filecheck=CHECK):-target spirv-assembly -entry computeMain -profile cs_5_1 -emit-spirv-via-glsl //DISABLED_TEST(compute):COMPARE_COMPUTE_EX:-cuda -compute @@ -16,6 +16,7 @@ RWStructuredBuffer<int> g_aoa[]; [numthreads(8, 1, 1)] void computeMain(uint3 dispatchThreadID : SV_DispatchThreadID) { + // DXIL: cs_5_1 // CHECK: OpCapability {{(ShaderNonUniform|StorageBufferArrayNonUniformIndexing)}} // CHECK: OpCapability {{(ShaderNonUniform|StorageBufferArrayNonUniformIndexing)}} // CHECK-DAG: OpDecorate %[[N1:[a-zA-Z0-9_]+]] NonUniform |
