Update to latest SPIR-V Tools.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user