Skip to content

Commit b646ad3

Browse files
authored
[SPIRV] Update submodules and fix test (microsoft#7243)
Updates the submodules. One test is updated because spirv-opt does not common the load of a sampler anymore to avoid using a value from a different basic block.
1 parent 60e6c76 commit b646ad3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

external/SPIRV-Tools

Submodule SPIRV-Tools updated 71 files

tools/clang/test/CodeGenSPIRV/vk.binding.global-struct-of-resource.and.array.hlsl

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ float4 main() : SV_Target
2727
// CHECK: [[x:%[0-9]+]] = OpSampledImage %type_sampled_image [[tex]] [[smp]]
2828
return Textures[0].Sample(TheStruct.Sampler, float2(0, 0))
2929
// CHECK: [[tex:%[0-9]+]] = OpLoad %type_2d_image %TheStruct_Texture
30+
// CHECK: [[smp:%[0-9]+]] = OpLoad %type_sampler %TheStruct_Sampler
3031
// CHECK: [[x:%[0-9]+]] = OpSampledImage %type_sampled_image [[tex]] [[smp]]
3132
+ TheStruct.Texture.Sample(TheStruct.Sampler, float2(0, 0));
3233
}

0 commit comments

Comments
 (0)