diff --git a/SPIRV/GlslangToSpv.cpp b/SPIRV/GlslangToSpv.cpp index 1527fec2..7603c380 100644 --- a/SPIRV/GlslangToSpv.cpp +++ b/SPIRV/GlslangToSpv.cpp @@ -6725,19 +6725,24 @@ void GlslangToSpv(const glslang::TIntermediate& intermediate, std::vectoroptimizeSize) { diff --git a/Test/baseLegalResults/hlsl.flattenOpaqueInitMix.vert.out b/Test/baseLegalResults/hlsl.flattenOpaqueInitMix.vert.out index 573f2689..e3568e5a 100644 --- a/Test/baseLegalResults/hlsl.flattenOpaqueInitMix.vert.out +++ b/Test/baseLegalResults/hlsl.flattenOpaqueInitMix.vert.out @@ -2,7 +2,7 @@ hlsl.flattenOpaqueInitMix.vert WARNING: AST will form illegal SPIR-V; need to transform to legalize // Module Version 10000 // Generated by (magic number): 80006 -// Id's are bound by 80 +// Id's are bound by 97 Capability Shader 1: ExtInstImport "GLSL.std.450" @@ -32,13 +32,13 @@ WARNING: AST will form illegal SPIR-V; need to transform to legalize 49: 7(float) Constant 1056964608 56: TypePointer Output 11(fvec4) 57(@entryPointOutput): 56(ptr) Variable Output + 96: 36(fvec2) ConstantComposite 49 49 4(main): 2 Function None 3 5: Label 63: 6 Load 44(g_tInputTexture_sampler) 64: 8 Load 47(g_tInputTexture) 73: 28 SampledImage 64 63 - 78: 36(fvec2) CompositeConstruct 49 49 - 79: 11(fvec4) ImageSampleExplicitLod 73 78 Lod 38 + 79: 11(fvec4) ImageSampleExplicitLod 73 96 Lod 38 Store 57(@entryPointOutput) 79 Return FunctionEnd diff --git a/known_good.json b/known_good.json index 61d8507f..6ab99682 100644 --- a/known_good.json +++ b/known_good.json @@ -5,7 +5,7 @@ "site" : "github", "subrepo" : "KhronosGroup/SPIRV-Tools", "subdir" : "External/spirv-tools", - "commit" : "46a9ec9d2312bc8f2a87810614d06c721ea3121c" + "commit" : "2e644e45785bb221294c32bf02a4ac867de49dc4" }, { "name" : "spirv-tools/external/spirv-headers",