2022-04-07 13:42:45 +00:00
|
|
|
[numthreads(1, 1, 1)]
|
|
|
|
void unused_entry_point() {
|
|
|
|
return;
|
2022-04-07 13:42:45 +00:00
|
|
|
}
|
|
|
|
|
2022-04-07 13:42:45 +00:00
|
|
|
RWByteAddressBuffer buffer : register(u0, space0);
|
|
|
|
static uint v = 0u;
|
2022-04-07 13:42:45 +00:00
|
|
|
|
2022-04-07 13:42:45 +00:00
|
|
|
int idx1() {
|
|
|
|
v = (v - 1u);
|
2022-04-07 13:42:45 +00:00
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
|
2022-04-07 13:42:45 +00:00
|
|
|
int idx2() {
|
|
|
|
v = (v - 1u);
|
2022-04-07 13:42:45 +00:00
|
|
|
return 2;
|
|
|
|
}
|
|
|
|
|
2022-04-07 13:42:45 +00:00
|
|
|
int idx3() {
|
|
|
|
v = (v - 1u);
|
2022-04-07 13:42:45 +00:00
|
|
|
return 3;
|
|
|
|
}
|
|
|
|
|
2022-04-07 13:42:45 +00:00
|
|
|
int idx4() {
|
|
|
|
v = (v - 1u);
|
2022-04-07 13:42:45 +00:00
|
|
|
return 4;
|
|
|
|
}
|
|
|
|
|
2022-04-07 13:42:45 +00:00
|
|
|
int idx5() {
|
|
|
|
v = (v - 1u);
|
2022-04-07 13:42:45 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2022-04-07 13:42:45 +00:00
|
|
|
int idx6() {
|
|
|
|
v = (v - 1u);
|
2022-04-07 13:42:45 +00:00
|
|
|
return 2;
|
|
|
|
}
|
|
|
|
|
2022-04-07 13:42:45 +00:00
|
|
|
void main() {
|
2022-11-09 22:04:11 +00:00
|
|
|
const int tint_symbol_save = idx1();
|
|
|
|
const int tint_symbol_save_1 = idx2();
|
2022-04-07 13:42:45 +00:00
|
|
|
const int tint_symbol_1 = idx3();
|
|
|
|
{
|
|
|
|
buffer.Store((((64u * uint(tint_symbol_save)) + (16u * uint(tint_symbol_save_1))) + (4u * uint(tint_symbol_1))), asuint((asint(buffer.Load((((64u * uint(tint_symbol_save)) + (16u * uint(tint_symbol_save_1))) + (4u * uint(tint_symbol_1))))) - 1)));
|
2022-09-29 16:53:58 +00:00
|
|
|
while (true) {
|
2022-04-07 13:42:45 +00:00
|
|
|
if (!((v < 10u))) {
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
{
|
|
|
|
}
|
|
|
|
{
|
2022-11-09 22:04:11 +00:00
|
|
|
const int tint_symbol_2_save = idx4();
|
|
|
|
const int tint_symbol_2_save_1 = idx5();
|
2022-04-07 13:42:45 +00:00
|
|
|
const int tint_symbol_3 = idx6();
|
|
|
|
buffer.Store((((64u * uint(tint_symbol_2_save)) + (16u * uint(tint_symbol_2_save_1))) + (4u * uint(tint_symbol_3))), asuint((asint(buffer.Load((((64u * uint(tint_symbol_2_save)) + (16u * uint(tint_symbol_2_save_1))) + (4u * uint(tint_symbol_3))))) - 1)));
|
|
|
|
}
|
|
|
|
}
|
2022-04-07 13:42:45 +00:00
|
|
|
}
|
|
|
|
}
|