SPV: Add SPIRV-Tools validator. This needs the latest SPIR-Tools.
This commit is contained in:
@@ -361,6 +361,10 @@ using depth_any
|
||||
0:? '@entryPointOutput.Depth' ( out float FragDepth)
|
||||
0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
|
||||
|
||||
error: SPIRV-Tools Validation Errors
|
||||
error: Expected Image 'Sampled Type' to be the same as Result Type
|
||||
%50 = OpImageSampleDrefExplicitLod %float %45 %48 %49 Lod|ConstOffset %float_0 %int_2
|
||||
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80007
|
||||
// Id's are bound by 179
|
||||
|
||||
Reference in New Issue
Block a user