blob: 00a14040848a54cbbba23f2c06b47c62c64189c8 [file] [log] [blame]
SKIP: INVALID
static uint3 localId = (0u).xxx;
static uint localIndex = 0u;
static uint3 globalId = (0u).xxx;
static uint3 numWorkgroups = (0u).xxx;
static uint3 workgroupId = (0u).xxx;
uint globalId2Index() {
return globalId.x;
}
[numthreads(1, 1, 1)]
void main() {
vector<float16_t, 4> a = (float16_t(0.0h)).xxxx;
float16_t b = float16_t(1.0h);
a[0] = (a.x + b);
}
FXC validation failure:
<scrubbed_path>(13,10-18): error X3000: syntax error: unexpected token 'float16_t'
<scrubbed_path>(14,3-11): error X3000: unrecognized identifier 'float16_t'
<scrubbed_path>(14,13): error X3000: unrecognized identifier 'b'