mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-17 00:47:13 +00:00
tint: remove LoopToForLoop and FoldTrivialSingleUseLets transforms for HLSL and GLSL
Change-Id: I18c807b2449dc2842cb9dbfaeba98dae640d2355 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/102621 Reviewed-by: Ben Clayton <bclayton@google.com> Commit-Queue: Antonio Maiorano <amaiorano@google.com>
This commit is contained in:
committed by
Dawn LUCI CQ
parent
d6afca1955
commit
e14a27bc7f
@@ -5,9 +5,16 @@ shared uint wg[4];
|
||||
void compute_main_inner(uint local_invocation_index) {
|
||||
uint idx = 0u;
|
||||
idx = local_invocation_index;
|
||||
{
|
||||
for(; !(!((idx < 4u))); idx = (idx + 1u)) {
|
||||
atomicExchange(wg[idx], 0u);
|
||||
while (true) {
|
||||
uint x_21 = idx;
|
||||
if (!((x_21 < 4u))) {
|
||||
break;
|
||||
}
|
||||
uint x_26 = idx;
|
||||
atomicExchange(wg[x_26], 0u);
|
||||
{
|
||||
uint x_33 = idx;
|
||||
idx = (x_33 + 1u);
|
||||
}
|
||||
}
|
||||
barrier();
|
||||
@@ -16,7 +23,8 @@ void compute_main_inner(uint local_invocation_index) {
|
||||
}
|
||||
|
||||
void compute_main_1() {
|
||||
compute_main_inner(local_invocation_index_1);
|
||||
uint x_47 = local_invocation_index_1;
|
||||
compute_main_inner(x_47);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user