Using #pragma require in .raytrace files doesn't work. All pragma require directives are ignored.
Steps to reproduce:
1. Clone the project from https://github.com/INedelcu/PathTracingDemo and open Assets/Shaders/RayGenerator.raytrace
2. Use one of the pragma require in a .raytrace file for example #pragma require int64bufferatomics or #pragma require int64 and save the file.
3. The shader fails to compile and generates the following error:
opcode '64-bit atomic operations' should only be used in 'Shader Model 6.6+'.
Actual results: No shader compilation errors are generated when using #pragma require directives.
Expected results: Shader fails to compile.
Reproducible with versions: 6000.0.2f1
Not reproducible with versions: N/A
Tested on (OS): Windows 11.