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

@ -153,6 +153,10 @@ gl_FragCoord origin is upper left
0:? 'inF4' (layout( location=3) in 4-component vector of float)
0:? 'inI2' (layout( location=4) flat in 2-component vector of int)
error: SPIRV-Tools Validation Errors
error: GLSL.std.450 InterpolateAtOffset: expected Interpolant storage class to be Input
%28 = OpExtInst %float %1 InterpolateAtOffset %inF1 %27
// Module Version 10000
// Generated by (magic number): 80007
// Id's are bound by 80