| 1 |
static const uint3 gl_WorkGroupSize = uint3(1u, 1u, 1u); |
| 2 |
|
| 3 |
globallycoherent RWByteAddressBuffer _29 : register(u3); |
| 4 |
ByteAddressBuffer _33 : register(t2); |
| 5 |
RWTexture2D<float> uImageIn : register(u0); |
| 6 |
globallycoherent RWTexture2D<float> uImageOut : register(u1); |
| 7 |
|
| 8 |
void comp_main() |
| 9 |
{ |
| 10 |
int2 coord = int2(9, 7); |
| 11 |
float4 indata = uImageIn[coord].xxxx; |
| 12 |
uImageOut[coord] = indata.x; |
| 13 |
_29.Store(0, asuint(asfloat(_33.Load(0)))); |
| 14 |
} |
| 15 |
|
| 16 |
[numthreads(1, 1, 1)] |
| 17 |
void main() |
| 18 |
{ |
| 19 |
comp_main(); |
| 20 |
} |