12 lines
165 B
HLSL
12 lines
165 B
HLSL
|
ByteAddressBuffer S : register(t0, space0);
|
||
|
|
||
|
int func_S() {
|
||
|
return asint(S.Load(0u));
|
||
|
}
|
||
|
|
||
|
[numthreads(1, 1, 1)]
|
||
|
void main() {
|
||
|
const int r = func_S();
|
||
|
return;
|
||
|
}
|