12 lines
306 B
HLSL
12 lines
306 B
HLSL
|
[numthreads(1, 1, 1)]
|
||
|
void unused_entry_point() {
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
void f() {
|
||
|
float16_t v = (float16_t(1.0h) + float16_t(2.0h));
|
||
|
vector<float16_t, 2> v2 = vector<float16_t, 2>((v).xx);
|
||
|
vector<float16_t, 3> v3 = vector<float16_t, 3>((v).xxx);
|
||
|
vector<float16_t, 4> v4 = vector<float16_t, 4>((v).xxxx);
|
||
|
}
|