Skip to content

Commit ed70418

Browse files
protobird-gitDawn LUCI CQ
authored andcommitted
Revive tint options removed by accident.
The given options were removed by https://dawn-review.googlesource.com/c/dawn/+/276774/13/src/dawn/native/vulkan/ShaderModuleVk.cpp Bug: 467666272 Change-Id: I59a53a6ac553160b0b37034242f62e88750a1985 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/281916 Reviewed-by: Peter McNeeley <petermcneeley@google.com> Reviewed-by: Loko Kung <lokokung@google.com> Commit-Queue: Byungchul Kim <byungchul@google.com>
1 parent f0bf8ab commit ed70418

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/dawn/native/vulkan/ShaderModuleVk.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,10 @@ ResultOrError<ShaderModule::ModuleAndSpirv> ShaderModule::GetHandleAndSpirv(
199199
req.tintOptions.bindings = std::move(bindings);
200200
req.tintOptions.resource_table = std::move(resourceTableConfig);
201201

202+
req.tintOptions.disable_robustness = !GetDevice()->IsRobustnessEnabled();
203+
req.tintOptions.disable_workgroup_init =
204+
GetDevice()->IsToggleEnabled(Toggle::DisableWorkgroupInit);
205+
202206
req.tintOptions.workarounds.polyfill_unary_f32_negation =
203207
GetDevice()->IsToggleEnabled(Toggle::VulkanPolyfillF32Negation);
204208
req.tintOptions.workarounds.polyfill_f32_abs =

0 commit comments

Comments
 (0)