| commit | ed7041813d47668112ed471596def071caa54a95 | [log] [tgz] |
|---|---|---|
| author | Byungchul Kim <byungchul@google.com> | Tue Dec 23 21:34:58 2025 -0800 |
| committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Dec 23 21:34:58 2025 -0800 |
| tree | 420ff379e62130bca611f33a091d57373709742c | |
| parent | f0bf8ab547a9a23b8b78ff67d8085d4a26600a7d [diff] |
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>
diff --git a/src/dawn/native/vulkan/ShaderModuleVk.cpp b/src/dawn/native/vulkan/ShaderModuleVk.cpp index fa46787..e5ed3fc 100644 --- a/src/dawn/native/vulkan/ShaderModuleVk.cpp +++ b/src/dawn/native/vulkan/ShaderModuleVk.cpp
@@ -199,6 +199,10 @@ req.tintOptions.bindings = std::move(bindings); req.tintOptions.resource_table = std::move(resourceTableConfig); + req.tintOptions.disable_robustness = !GetDevice()->IsRobustnessEnabled(); + req.tintOptions.disable_workgroup_init = + GetDevice()->IsToggleEnabled(Toggle::DisableWorkgroupInit); + req.tintOptions.workarounds.polyfill_unary_f32_negation = GetDevice()->IsToggleEnabled(Toggle::VulkanPolyfillF32Negation); req.tintOptions.workarounds.polyfill_f32_abs =