SPV: Add SPIRV-Tools validator. This needs the latest SPIR-Tools.

This commit is contained in:
John Kessenich
2018-08-22 17:17:07 -06:00
parent e7df8e0b76
commit cc14f2d329
84 changed files with 370 additions and 1 deletions

View File

@@ -30,6 +30,10 @@ gl_FragCoord origin is upper left
0:? Linker Objects
0:? 'anon@0' (layout( row_major std140) uniform block{ uniform 1-component vector of float f1, uniform 1X1 matrix of float fmat11, uniform 4X1 matrix of float fmat41, uniform 1X2 matrix of float fmat12, uniform 2X3 matrix of double dmat23, uniform 4X4 matrix of int int44})
error: SPIRV-Tools Validation Errors
error: Illegal number of components (1) for TypeVector
%v1float = OpTypeVector %float 1
// Module Version 10000
// Generated by (magic number): 80007
// Id's are bound by 30