mirror of
https://github.com/KhronosGroup/SPIRV-Tools
synced 2024-10-18 11:10:05 +00:00
update tests for disassembly changes (#5694)
* update tests for disassembly changes * use DEPS in wasm build
This commit is contained in:
parent
e1c0ad23f7
commit
7b5691084a
2
DEPS
2
DEPS
@ -14,7 +14,7 @@ vars = {
|
||||
|
||||
're2_revision': '917047f3606d3ba9e2de0d383c3cd80c94ed732c',
|
||||
|
||||
'spirv_headers_revision': 'ff2afc3afc48dff4eec2a10f0212402a80708e38',
|
||||
'spirv_headers_revision': 'fbf2402969ed9aec34a8f8b4f5afab342319f07b',
|
||||
}
|
||||
|
||||
deps = {
|
||||
|
@ -70,8 +70,8 @@ build() {
|
||||
}
|
||||
|
||||
if [ ! -d external/spirv-headers ] ; then
|
||||
echo "Fetching SPIRV-headers"
|
||||
git clone https://github.com/KhronosGroup/SPIRV-Headers.git external/spirv-headers
|
||||
echo "Fetching deps"
|
||||
utils/git-sync-deps
|
||||
fi
|
||||
|
||||
echo Building ${BASH_REMATCH[1]}
|
||||
|
@ -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
|
||||
@ -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
|
||||
|
@ -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
|
||||
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user