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:
Antonio Maiorano
2022-09-19 14:05:21 +00:00
committed by Dawn LUCI CQ
parent d6afca1955
commit e14a27bc7f
617 changed files with 3539 additions and 2634 deletions

View File

@@ -2,7 +2,8 @@
void f() {
uvec3 a = uvec3(1u, 2u, 3u);
uvec3 r = (a % 4u);
uint b = 4u;
uvec3 r = (a % b);
}
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;