mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-09 21:47:47 +00:00
Set y-axis up in normalized coordinate system.
BUG=dawn:224 Change-Id: I6bb4946e87b593f1d62a13b3b8ab38f21d3e9ffb Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/10201 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Yunchao He <yunchao.he@intel.com>
This commit is contained in:
committed by
Commit Bot service account
parent
a838c7d497
commit
394553b02e
@@ -32,7 +32,6 @@ namespace {
|
||||
options.SetTargetEnvironment(shaderc_target_env_vulkan, shaderc_env_version_vulkan_1_1);
|
||||
|
||||
// Using the options that are used by Dawn, they appear in ShaderModuleD3D12.cpp
|
||||
options.SetFlipVertY(true);
|
||||
options.SetHLSLShaderModel(51);
|
||||
// TODO (hao.x.li@intel.com): The HLSLPointCoordCompat and HLSLPointSizeCompat are
|
||||
// required temporarily for https://bugs.chromium.org/p/dawn/issues/detail?id=146,
|
||||
|
||||
@@ -32,7 +32,6 @@ namespace {
|
||||
options.SetTargetEnvironment(shaderc_target_env_vulkan, shaderc_env_version_vulkan_1_1);
|
||||
|
||||
// Using the options that are used by Dawn, they appear in ShaderModuleMTL.mm
|
||||
options.SetFlipVertY(true);
|
||||
compiler.CompileSpvToMsl(input.data(), input.size(), options);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user