1 spv.RayGenShader_Errors.rgen 2 ERROR: 0:3: 'hitAttributeNV' : not supported in this stage: ray-generation 3 ERROR: 0:4: 'rayPayloadInNV' : not supported in this stage: ray-generation 4 ERROR: 0:5: 'shaderRecordNV' : can only be used with a buffer 5 ERROR: 0:9: 'binding' : cannot be used with shaderRecordNV 6 ERROR: 0:12: 'set' : cannot be used with shaderRecordNV 7 ERROR: 0:23: 'accelerationStructureNV' : accelerationStructureNV can only be used in uniform variables or function parameters: a 8 ERROR: 0:23: '=' : cannot convert from ' const int' to ' temp accelerationStructureNV' 9 ERROR: 0:24: 'gl_PrimitiveID' : undeclared identifier 10 ERROR: 0:24: '=' : cannot convert from ' temp float' to ' temp highp int' 11 ERROR: 0:25: 'gl_InstanceID' : undeclared identifier (Did you mean gl_InstanceIndex?) 12 ERROR: 0:25: '=' : cannot convert from ' temp float' to ' temp highp int' 13 ERROR: 0:26: 'gl_InstanceCustomIndexNV' : undeclared identifier 14 ERROR: 0:26: '=' : cannot convert from ' temp float' to ' temp highp int' 15 ERROR: 0:27: 'gl_WorldRayOriginNV' : undeclared identifier 16 ERROR: 0:27: '=' : cannot convert from ' temp float' to ' temp highp 3-component vector of float' 17 ERROR: 0:28: 'gl_WorldRayDirectionNV' : undeclared identifier 18 ERROR: 0:28: '=' : cannot convert from ' temp float' to ' temp highp 3-component vector of float' 19 ERROR: 0:29: 'gl_ObjectRayOriginNV' : undeclared identifier 20 ERROR: 0:29: '=' : cannot convert from ' temp float' to ' temp highp 3-component vector of float' 21 ERROR: 0:30: 'gl_ObjectRayDirectionNV' : undeclared identifier 22 ERROR: 0:30: '=' : cannot convert from ' temp float' to ' temp highp 3-component vector of float' 23 ERROR: 0:31: 'gl_RayTminNV' : undeclared identifier 24 ERROR: 0:32: 'gl_RayTmaxNV' : undeclared identifier 25 ERROR: 0:33: 'gl_ObjectToWorldNV' : undeclared identifier 26 ERROR: 0:33: '=' : cannot convert from ' temp float' to ' temp highp 4X3 matrix of float' 27 ERROR: 0:34: 'gl_WorldToObjectNV' : undeclared identifier 28 ERROR: 0:34: '=' : cannot convert from ' temp float' to ' temp highp 4X3 matrix of float' 29 ERROR: 0:35: 'gl_HitTNV' : undeclared identifier 30 ERROR: 0:36: 'gl_HitKindNV' : undeclared identifier 31 ERROR: 0:37: 'reportIntersectionNV' : no matching overloaded function found 32 ERROR: 0:38: 'ignoreIntersectionNV' : no matching overloaded function found 33 ERROR: 0:39: 'terminateRayNV' : no matching overloaded function found 34 ERROR: 32 compilation errors. No code generated. 35 36 37 ERROR: Linking ray-generation stage: Only one shaderRecordNV buffer block is allowed per stage 38 39 SPIR-V is not generated for failed compile or link 40