Chao Chen | b50c02e | 2018-09-19 11:42:24 -0700 | [diff] [blame] | 1 | #version 460 |
Ashwin Lele | ff1783d | 2018-10-22 16:41:44 -0700 | [diff] [blame] | 2 | #extension GL_NV_ray_tracing : enable |
| 3 | hitAttributeNV vec4 payload; // ERROR, hitattributeNV unsupported in this stage |
Chao Chen | b50c02e | 2018-09-19 11:42:24 -0700 | [diff] [blame] | 4 | void main() |
| 5 | { |
Ashwin Lele | ff1783d | 2018-10-22 16:41:44 -0700 | [diff] [blame] | 6 | int e0 = gl_PrimitiveID; // ERROR, unsupported builtin in stage |
| 7 | int e1 = gl_InstanceID; // ERROR, unsupported builtin in stage |
| 8 | int e3 = gl_InstanceCustomIndexNV; // ERROR, unsupported builtin in stage |
| 9 | mat4x3 e10 = gl_ObjectToWorldNV; // ERROR, unsupported builtin in stage |
| 10 | mat4x3 e11 = gl_WorldToObjectNV; // ERROR, unsupported builtin in stage |
| 11 | float e12 = gl_HitTNV; // ERROR, unsupported builtin in stage |
| 12 | float e13 = gl_HitKindNV; // ERROR, unsupported builtin in stage |
| 13 | reportIntersectionNV(1.0, 1U); // ERROR, unsupported builtin in stage |
| 14 | ignoreIntersectionNV(); // ERROR, unsupported builtin in stage |
| 15 | terminateRayNV(); // ERROR, unsupported builtin in stage |
Chao Chen | b50c02e | 2018-09-19 11:42:24 -0700 | [diff] [blame] | 16 | } |