diff options
| author | Yong He <yonghe@outlook.com> | 2025-07-01 19:09:29 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-02 02:09:29 +0000 |
| commit | c701ec00ccce6dfa8094d6550ce2db929fc8cefe (patch) | |
| tree | 4f729e8fa5700b2d6d7d99f34514682e3ad351f8 /tests/glsl-intrinsic | |
| parent | 83c72fd8772d312233f4e3ccd4154b81030d4795 (diff) | |
Defer immutable buffer loads when emitting spirv. (#7579)
* Defer immutable buffer loads when emitting spirv.
* Fix.
* Fix.
* Fix.
* Fix tests.
* Fix test.
Diffstat (limited to 'tests/glsl-intrinsic')
| -rw-r--r-- | tests/glsl-intrinsic/intrinsic-basic.slang | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/glsl-intrinsic/intrinsic-basic.slang b/tests/glsl-intrinsic/intrinsic-basic.slang index 4e1dfe8c4..7e4a76734 100644 --- a/tests/glsl-intrinsic/intrinsic-basic.slang +++ b/tests/glsl-intrinsic/intrinsic-basic.slang @@ -56,7 +56,7 @@ bool Test_ScalarType() const mat3 identity3x3 = mat3(vec3(1,0,0),vec3(0,1,0),vec3(0,0,1)); const mat4 identity4x4 = mat4(vec4(1,0,0,0),vec4(0,1,0,0),vec4(0,0,1,0),vec4(0,0,0,1)); - // CHECK_SPIR-LABEL: OpAccessChain {{.*}} %inputBuffer + // CHECK_SPIR-LABEL: Op{{.*}}AccessChain {{.*}} %inputBuffer const int zero = inputBuffer.data[0]; const int one = inputBuffer.data[1]; const int negaOne = inputBuffer.data[2]; @@ -539,7 +539,7 @@ bool Test_VectorType() constexpr const float epsilon = 0.000001; - // CHECK_SPIR-LABEL: OpAccessChain {{.*}} %inputBuffer + // CHECK_SPIR-LABEL: Op{{.*}}AccessChain {{.*}} %inputBuffer const int zero = inputBuffer.data[0]; const int one = inputBuffer.data[1]; const int negaOne = inputBuffer.data[2]; @@ -1106,7 +1106,7 @@ bool Test_VectorType() ; // CHECK_GLSL-LABEL: bool Test_VectorType_1 - // CHECK_SPIR-LABEL: OpAccessChain {{.*}} %inputBuffer + // CHECK_SPIR-LABEL: Op{{.*}}AccessChain {{.*}} %inputBuffer } [numthreads(4, 1, 1)] |
