SPV: Add SPIRV-Tools validator. This needs the latest SPIR-Tools.
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
spv.viewportArray2.tesc
|
||||
error: SPIRV-Tools Validation Errors
|
||||
error: Vulkan spec allows BuiltIn ViewportIndex to be used only with Vertex, TessellationEvaluation, Geometry, or Fragment execution models. ID <0> (OpStore) is referencing ID <22> (OpVariable) which is decorated with BuiltIn ViewportIndex in function <4> called with execution model TessellationControl.
|
||||
OpStore %gl_ViewportIndex %int_2
|
||||
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80007
|
||||
// Id's are bound by 25
|
||||
|
||||
Reference in New Issue
Block a user