Update to latest SPIR-V Tools.

This commit is contained in:
John Kessenich
2018-11-15 09:57:43 -07:00
parent e3cc0d35f3
commit 75cbfcc278
3 changed files with 11 additions and 1 deletions

View File

@@ -155,6 +155,11 @@ 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: 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
// Module Version 10000
// Generated by (magic number): 80007
// Id's are bound by 80

View File

@@ -1,4 +1,9 @@
spv.functionNestedOpaque.vert
error: SPIRV-Tools Validation Errors
error: 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.
%si = OpVariable %_ptr_UniformConstant_S UniformConstant
// Module Version 10000
// Generated by (magic number): 80007
// Id's are bound by 39