11 lines
178 B
HLSL
11 lines
178 B
HLSL
|
float4 func(inout float4 pointer) {
|
||
|
return pointer;
|
||
|
}
|
||
|
|
||
|
[numthreads(1, 1, 1)]
|
||
|
void main() {
|
||
|
float4 F = float4(0.0f, 0.0f, 0.0f, 0.0f);
|
||
|
const float4 r = func(F);
|
||
|
return;
|
||
|
}
|