mirror of
https://github.com/libretro/RetroArch
synced 2025-02-01 09:32:58 +00:00
15 lines
302 B
Plaintext
15 lines
302 B
Plaintext
|
RWByteAddressBuffer _9 : register(u0);
|
||
|
|
||
|
void comp_main()
|
||
|
{
|
||
|
_9.Store(8, asuint(distance(asfloat(_9.Load(0)), asfloat(_9.Load(4)))));
|
||
|
_9.Store(12, asuint(length(asfloat(_9.Load(0)))));
|
||
|
_9.Store(16, asuint(sign(asfloat(_9.Load(0)))));
|
||
|
}
|
||
|
|
||
|
[numthreads(1, 1, 1)]
|
||
|
void main()
|
||
|
{
|
||
|
comp_main();
|
||
|
}
|