2022-03-31 22:30:10 +00:00
|
|
|
[numthreads(1, 1, 1)]
|
|
|
|
void unused_entry_point() {
|
|
|
|
return;
|
2022-03-31 22:30:10 +00:00
|
|
|
}
|
|
|
|
|
2023-03-31 17:55:19 +00:00
|
|
|
RWByteAddressBuffer v : register(u0);
|
2022-03-31 22:30:10 +00:00
|
|
|
static uint i = 0u;
|
2022-03-31 22:30:10 +00:00
|
|
|
|
2022-03-31 22:30:10 +00:00
|
|
|
int idx1() {
|
|
|
|
i = (i + 1u);
|
2022-03-31 22:30:10 +00:00
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
|
2022-03-31 22:30:10 +00:00
|
|
|
int idx2() {
|
|
|
|
i = (i + 2u);
|
2022-03-31 22:30:10 +00:00
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
|
2022-03-31 22:30:10 +00:00
|
|
|
int idx3() {
|
|
|
|
i = (i + 3u);
|
2022-03-31 22:30:10 +00:00
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
|
2022-03-31 22:30:10 +00:00
|
|
|
void foo() {
|
|
|
|
float a[4] = (float[4])0;
|
|
|
|
{
|
2023-03-02 17:18:27 +00:00
|
|
|
const int tint_symbol_save = idx1();
|
2022-03-31 22:30:10 +00:00
|
|
|
a[tint_symbol_save] = (a[tint_symbol_save] * 2.0f);
|
2022-09-29 16:53:58 +00:00
|
|
|
while (true) {
|
2022-11-09 22:04:11 +00:00
|
|
|
const int tint_symbol_2 = idx2();
|
|
|
|
if (!((a[tint_symbol_2] < 10.0f))) {
|
2022-03-31 22:30:10 +00:00
|
|
|
break;
|
|
|
|
}
|
|
|
|
{
|
|
|
|
}
|
|
|
|
{
|
2022-11-09 22:04:11 +00:00
|
|
|
const int tint_symbol_1_save = idx3();
|
2022-03-31 22:30:10 +00:00
|
|
|
a[tint_symbol_1_save] = (a[tint_symbol_1_save] + 1.0f);
|
|
|
|
}
|
|
|
|
}
|
2022-03-31 22:30:10 +00:00
|
|
|
}
|
|
|
|
}
|