Update to latest SPIR-V Tools.
This commit is contained in:
parent
e3cc0d35f3
commit
75cbfcc278
3 changed files with 11 additions and 1 deletions
|
|
@ -155,6 +155,11 @@ gl_FragCoord origin is upper left
|
||||||
0:? 'g_texdata_array2[2].nonopaque_thing' ( uniform int)
|
0:? 'g_texdata_array2[2].nonopaque_thing' ( uniform int)
|
||||||
0:? 'ps_output.color' (layout( location=0) out 4-component vector of float)
|
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
|
// Module Version 10000
|
||||||
// Generated by (magic number): 80007
|
// Generated by (magic number): 80007
|
||||||
// Id's are bound by 80
|
// Id's are bound by 80
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,9 @@
|
||||||
spv.functionNestedOpaque.vert
|
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
|
// Module Version 10000
|
||||||
// Generated by (magic number): 80007
|
// Generated by (magic number): 80007
|
||||||
// Id's are bound by 39
|
// Id's are bound by 39
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
"site" : "github",
|
"site" : "github",
|
||||||
"subrepo" : "KhronosGroup/SPIRV-Tools",
|
"subrepo" : "KhronosGroup/SPIRV-Tools",
|
||||||
"subdir" : "External/spirv-tools",
|
"subdir" : "External/spirv-tools",
|
||||||
"commit" : "9d699f6d4038f432c55310d5d0b4a6d507c1b686"
|
"commit" : "a29a9947ac96d811b310f481b24e293f67fedf32"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name" : "spirv-tools/external/spirv-headers",
|
"name" : "spirv-tools/external/spirv-headers",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue