//TEST:SIMPLE(filecheck=CHECK): -target spirv -emit-spirv-directly -stage compute -entry computeMain uniform StructuredBuffer in; uniform RWStructuredBuffer out; //CHECK: error 41202{{.*}}4{{.*}}8 [numthreads(4, 1, 1)] [shader("compute")] void computeMain() { out[0] = bit_cast(in[0]); }