DXC should disallow the `volatile` keyword across the board, regardless of the target IR. ```hlsl RWByteAddressBuffer gBuf : register(u0); [numthreads(1,1,1)] void main() { volatile RWByteAddressBuffer buf = gBuf; buf.Store(0, 42); } ``` DXC accepts this hlsl, and it should not. Command: `dxc -T cs_6_0 -Fo out.o input.hlsl` We need a diagnostic to be emitted, something like "unrecognized identifier `volatile`", that word should not be recognized.
Activity
Disallow `volatile` keyword (#8397)