mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-20 18:29:23 +00:00
Move tint::transform::Robustness to a santizier transform
There's no good reason for this to be public. Move it into the writers, and expose a 'disable_robustness' option to turn it off. This can be expanded to hold more fine-grain control in the future. Change-Id: I6ea6e54a27b2ae0fbcba5fdf45539063045cc15a Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/122203 Commit-Queue: Ben Clayton <bclayton@google.com> Kokoro: Ben Clayton <bclayton@google.com> Reviewed-by: Dan Sinclair <dsinclair@chromium.org> Auto-Submit: Ben Clayton <bclayton@google.com> Reviewed-by: Austin Eng <enga@chromium.org>
This commit is contained in:
committed by
Dawn LUCI CQ
parent
902c9e5726
commit
03de0e83ae
@@ -21,10 +21,7 @@ void compute_main_inner(uint local_invocation_index_2) {
|
||||
uint x_31 = idx;
|
||||
uint x_33 = idx;
|
||||
uint x_35 = idx;
|
||||
uint tint_symbol = tint_div(x_31, 2u);
|
||||
uint tint_symbol_1 = tint_mod(x_33, 2u);
|
||||
uint tint_symbol_2 = tint_mod(x_35, 1u);
|
||||
atomicExchange(wg[tint_symbol][tint_symbol_1][tint_symbol_2], 0u);
|
||||
atomicExchange(wg[tint_div(x_31, 2u)][tint_mod(x_33, 2u)][tint_mod(x_35, 1u)], 0u);
|
||||
{
|
||||
uint x_42 = idx;
|
||||
idx = (x_42 + 1u);
|
||||
|
||||
Reference in New Issue
Block a user