diff options
Diffstat (limited to '3rdparty/bgfx/3rdparty/glslang/Test/baseResults/hlsl.structarray.flatten.frag.out')
-rw-r--r-- | 3rdparty/bgfx/3rdparty/glslang/Test/baseResults/hlsl.structarray.flatten.frag.out | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/3rdparty/bgfx/3rdparty/glslang/Test/baseResults/hlsl.structarray.flatten.frag.out b/3rdparty/bgfx/3rdparty/glslang/Test/baseResults/hlsl.structarray.flatten.frag.out index fc66a7ceeba..5d34aecee05 100644 --- a/3rdparty/bgfx/3rdparty/glslang/Test/baseResults/hlsl.structarray.flatten.frag.out +++ b/3rdparty/bgfx/3rdparty/glslang/Test/baseResults/hlsl.structarray.flatten.frag.out @@ -155,12 +155,7 @@ gl_FragCoord origin is upper left 0:? 'g_texdata_array2[2].nonopaque_thing' ( uniform int) 0:? 'ps_output.color' (layout( location=0) out 4-component vector of float) -error: SPIRV-Tools Validation Errors -error: UniformConstant OpVariable <id> '65[g_texdata.nonopaque_thing] 'has illegal type. -From Vulkan spec, section 14.5.2: -Variables identified with the UniformConstant storage class are used only as handles to refer to opaque resources. Such variables must be typed as OpTypeImage, OpTypeSampler, OpTypeSampledImage, OpTypeAccelerationStructureNV, or an array of one of these types. - %g_texdata_nonopaque_thing = OpVariable %_ptr_UniformConstant_int UniformConstant - +Validation failed // Module Version 10000 // Generated by (magic number): 80007 // Id's are bound by 80 @@ -204,22 +199,38 @@ Variables identified with the UniformConstant storage class are used only as han Name 78 "g_texdata_array2[2].tex" Name 79 "g_texdata_array2[2].nonopaque_thing" Decorate 18(g_texdata.tex) DescriptorSet 0 + Decorate 18(g_texdata.tex) Binding 0 Decorate 22(g_texdata.samp) DescriptorSet 0 + Decorate 22(g_texdata.samp) Binding 0 Decorate 28(g_texdata_array[1].tex) DescriptorSet 0 + Decorate 28(g_texdata_array[1].tex) Binding 0 Decorate 30(g_texdata_array[1].samp) DescriptorSet 0 + Decorate 30(g_texdata_array[1].samp) Binding 0 Decorate 40(g_texdata_array2[1].tex) DescriptorSet 0 + Decorate 40(g_texdata_array2[1].tex) Binding 0 Decorate 45(g_texdata_array2[1].samp) DescriptorSet 0 + Decorate 45(g_texdata_array2[1].samp) Binding 0 Decorate 59(ps_output.color) Location 0 Decorate 62(g_samp) DescriptorSet 0 + Decorate 62(g_samp) Binding 0 Decorate 63(g_tex) DescriptorSet 0 + Decorate 63(g_tex) Binding 0 Decorate 66(g_texdata_array[0].samp) DescriptorSet 0 + Decorate 66(g_texdata_array[0].samp) Binding 0 Decorate 67(g_texdata_array[0].tex) DescriptorSet 0 + Decorate 67(g_texdata_array[0].tex) Binding 0 Decorate 70(g_texdata_array[2].samp) DescriptorSet 0 + Decorate 70(g_texdata_array[2].samp) Binding 0 Decorate 71(g_texdata_array[2].tex) DescriptorSet 0 + Decorate 71(g_texdata_array[2].tex) Binding 0 Decorate 73(g_texdata_array2[0].samp) DescriptorSet 0 + Decorate 73(g_texdata_array2[0].samp) Binding 0 Decorate 74(g_texdata_array2[0].tex) DescriptorSet 0 + Decorate 74(g_texdata_array2[0].tex) Binding 0 Decorate 77(g_texdata_array2[2].samp) DescriptorSet 0 + Decorate 77(g_texdata_array2[2].samp) Binding 0 Decorate 78(g_texdata_array2[2].tex) DescriptorSet 0 + Decorate 78(g_texdata_array2[2].tex) Binding 0 2: TypeVoid 3: TypeFunction 2 6: TypeFloat 32 |