diff options
Diffstat (limited to 'tests/cross-compile')
| -rw-r--r-- | tests/cross-compile/glsl-generic-in.slang | 11 | ||||
| -rw-r--r-- | tests/cross-compile/glslang-error.glsl | 2 |
2 files changed, 8 insertions, 5 deletions
diff --git a/tests/cross-compile/glsl-generic-in.slang b/tests/cross-compile/glsl-generic-in.slang index a43f33c21..a743c32cb 100644 --- a/tests/cross-compile/glsl-generic-in.slang +++ b/tests/cross-compile/glsl-generic-in.slang @@ -1,7 +1,10 @@ -//TEST:SIMPLE(filecheck=CHECK): -target spirv-assembly -entry main -profile vs_5_0 -// CHECK: vIn_field_v0_0 = OpVariable %_ptr_Input_v4float Input -// CHECK: %vIn_field_v1_0 = OpVariable %_ptr_Input_v2float Input -// CHECK: %vIn_p0_0 = OpVariable %_ptr_Input_v3float Input +//TEST:SIMPLE(filecheck=CHECK): -target spirv-assembly -entry main -profile vs_5_0 -emit-spirv-directly +//TEST:SIMPLE(filecheck=CHECK): -target spirv-assembly -entry main -profile vs_5_0 -emit-spirv-via-glsl + +// CHECK: vIn_field_v0{{.*}} = OpVariable %_ptr_Input_v4float Input +// CHECK: %vIn_field_v1{{.*}}= OpVariable %_ptr_Input_v2float Input +// CHECK: %vIn_p0{{.*}}= OpVariable %_ptr_Input_v3float Input + interface IField { float get(); diff --git a/tests/cross-compile/glslang-error.glsl b/tests/cross-compile/glslang-error.glsl index c7d709442..eb59b72f6 100644 --- a/tests/cross-compile/glslang-error.glsl +++ b/tests/cross-compile/glslang-error.glsl @@ -1,4 +1,4 @@ -//TEST(glslang):SIMPLE:-pass-through glslang -target spirv -entry compute -stage compute -profile sm_5_1 +//TEST(glslang):SIMPLE:-pass-through glslang -target spirv -entry compute -stage compute -profile sm_5_1 -emit-spirv-via-glsl #version 450 void main() |
