mirror of
https://github.com/libretro/RetroArch
synced 2025-02-10 03:39:56 +00:00
git-subtree-dir: deps/SPIRV-Cross git-subtree-split: d4b0625cbd7377e720b4fa1d63e6a3c09da5db63
16 lines
349 B
Plaintext
16 lines
349 B
Plaintext
RWByteAddressBuffer WriteOnly : register(u2);
|
|
ByteAddressBuffer ReadOnly : register(t0);
|
|
RWByteAddressBuffer ReadWrite : register(u1);
|
|
|
|
void comp_main()
|
|
{
|
|
WriteOnly.Store4(0, asuint(asfloat(ReadOnly.Load4(0))));
|
|
ReadWrite.Store4(0, asuint(asfloat(ReadWrite.Load4(0)) + 10.0f.xxxx));
|
|
}
|
|
|
|
[numthreads(1, 1, 1)]
|
|
void main()
|
|
{
|
|
comp_main();
|
|
}
|