7 lines
117 B
HLSL
7 lines
117 B
HLSL
|
[numthreads(1, 1, 1)]
|
||
|
void f() {
|
||
|
const float3 a = float3(1.0f, 2.0f, 3.0f);
|
||
|
const int3 b = asint(a);
|
||
|
return;
|
||
|
}
|