Skip to content

Commit

Permalink
update tests for disassembly changes
Browse files Browse the repository at this point in the history
  • Loading branch information
alan-baker committed Jun 5, 2024
1 parent e1c0ad2 commit 8e2f07d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion DEPS
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ vars = {

're2_revision': '917047f3606d3ba9e2de0d383c3cd80c94ed732c',

'spirv_headers_revision': 'ff2afc3afc48dff4eec2a10f0212402a80708e38',
'spirv_headers_revision': 'fbf2402969ed9aec34a8f8b4f5afab342319f07b',
}

deps = {
Expand Down
6 changes: 3 additions & 3 deletions test/opt/aggressive_dead_code_elim_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7568,7 +7568,7 @@ TEST_F(AggressiveDCETest, PreserveInterface) {
OpExtension "SPV_KHR_ray_tracing"
%1 = OpExtInstImport "GLSL.std.450"
OpMemoryModel Logical GLSL450
OpEntryPoint RayGenerationNV %2 "main" %3 %4
OpEntryPoint RayGenerationKHR %2 "main" %3 %4
OpDecorate %3 Location 0
OpDecorate %4 DescriptorSet 2
OpDecorate %4 Binding 0
Expand All @@ -7577,8 +7577,8 @@ OpDecorate %4 Binding 0
%uint = OpTypeInt 32 0
%uint_0 = OpConstant %uint 0
%float = OpTypeFloat 32
%_ptr_CallableDataNV_float = OpTypePointer CallableDataNV %float
%3 = OpVariable %_ptr_CallableDataNV_float CallableDataNV
%_ptr_CallableDataKHR_float = OpTypePointer CallableDataKHR %float
%3 = OpVariable %_ptr_CallableDataKHR_float CallableDataKHR
%13 = OpTypeAccelerationStructureKHR
%_ptr_UniformConstant_13 = OpTypePointer UniformConstant %13
%4 = OpVariable %_ptr_UniformConstant_13 UniformConstant
Expand Down
6 changes: 3 additions & 3 deletions test/opt/spread_volatile_semantics_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ OpDecorate %images DescriptorSet 0
OpDecorate %images Binding 1
OpDecorate %images NonWritable
; CHECK: OpEntryPoint RayGenerationNV {{%\w+}} "RayGeneration" [[var:%\w+]]
; CHECK: OpEntryPoint RayGenerationKHR {{%\w+}} "RayGeneration" [[var:%\w+]]
; CHECK: OpDecorate [[var]] BuiltIn SubgroupSize
; CHECK: OpDecorate [[var]] Volatile
; CHECK-NOT: OpDecorate {{%\w+}} Volatile
Expand Down Expand Up @@ -397,8 +397,8 @@ OpDecorate %images DescriptorSet 0
OpDecorate %images Binding 1
OpDecorate %images NonWritable
; CHECK: OpEntryPoint RayGenerationNV {{%\w+}} "RayGeneration" [[var:%\w+]]
; CHECK: OpEntryPoint ClosestHitNV {{%\w+}} "ClosestHit" [[var]]
; CHECK: OpEntryPoint RayGenerationKHR {{%\w+}} "RayGeneration" [[var:%\w+]]
; CHECK: OpEntryPoint ClosestHitKHR {{%\w+}} "ClosestHit" [[var]]
; CHECK: OpDecorate [[var]] BuiltIn SubgroupSize
; CHECK: OpDecorate [[var]] Volatile
; CHECK-NOT: OpDecorate {{%\w+}} Volatile
Expand Down

0 comments on commit 8e2f07d

Please sign in to comment.