mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-20 18:29:23 +00:00
Turn on using spvc by default
BUG=dawn:291 Change-Id: I9ebf34388abc6f5ff443a430f5bd79507c095520 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/15463 Commit-Queue: Ryan Harrison <rharrison@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
c30635174e
commit
7f380d3d40
@@ -76,7 +76,7 @@ namespace dawn_native { namespace opengl {
|
||||
if (GetDevice()->IsToggleEnabled(Toggle::UseSpvc)) {
|
||||
// If these options are changed, the values in DawnSPIRVCrossGLSLFastFuzzer.cpp need to
|
||||
// be updated.
|
||||
shaderc_spvc::CompileOptions options;
|
||||
shaderc_spvc::CompileOptions options = GetCompileOptions();
|
||||
|
||||
// The range of Z-coordinate in the clipping volume of OpenGL is [-w, w], while it is
|
||||
// [0, w] in D3D12, Metal and Vulkan, so we should normalize it in shaders in all
|
||||
|
||||
Reference in New Issue
Block a user