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

@@ -131,6 +131,10 @@ gl_FragCoord origin is upper left
0:? 'anon@0' (layout( row_major std140) uniform block{layout( row_major std140) uniform int c1})
0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
error: SPIRV-Tools Validation Errors
error: Only a single level of array is allowed for descriptor set variables
%cb3_0 = OpVariable %_ptr_Uniform__arr__arr_cb3_uint_4_uint_2 Uniform
// Module Version 10000
// Generated by (magic number): 80007
// Id's are bound by 66