Browse Source

[spirv] CHECK for extensions in the user-type decoration test. (#3124)

Ehsan 5 years ago
parent
commit
5adc55c72d
1 changed files with 3 additions and 0 deletions
  1. 3 0
      tools/clang/test/CodeGenSPIRV/decoration.user-type.hlsl

+ 3 - 0
tools/clang/test/CodeGenSPIRV/decoration.user-type.hlsl

@@ -1,5 +1,8 @@
 // Run: %dxc -T ps_6_0 -E main -fspv-reflect
 
+// CHECK: OpExtension "SPV_GOOGLE_hlsl_functionality1"
+// CHECK: OpExtension "SPV_GOOGLE_user_type"
+
 // CHECK: OpDecorateString %a UserTypeGOOGLE "structuredbuffer"
 StructuredBuffer<float> a;
 // CHECK: OpDecorateString %b UserTypeGOOGLE "rwstructuredbuffer"