mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-20 10:25:28 +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
@@ -96,10 +96,10 @@
|
||||
%48 = OpLoad %uint %idx
|
||||
%49 = OpLoad %uint %idx
|
||||
%50 = OpLoad %uint %idx
|
||||
%51 = OpFunctionCall %uint %tint_div %48 %uint_2
|
||||
%52 = OpFunctionCall %uint %tint_mod %49 %uint_2
|
||||
%53 = OpFunctionCall %uint %tint_mod %50 %uint_1
|
||||
%58 = OpAccessChain %_ptr_Workgroup_uint %wg %51 %52 %53
|
||||
%54 = OpFunctionCall %uint %tint_div %48 %uint_2
|
||||
%55 = OpFunctionCall %uint %tint_mod %49 %uint_2
|
||||
%56 = OpFunctionCall %uint %tint_mod %50 %uint_1
|
||||
%58 = OpAccessChain %_ptr_Workgroup_uint %wg %54 %55 %56
|
||||
OpAtomicStore %58 %uint_2 %uint_0 %6
|
||||
OpBranch %40
|
||||
%40 = OpLabel
|
||||
|
||||
Reference in New Issue
Block a user