D3D12: Add back flip_vert_y.

This fixes the InputStateTests and PrimitiveTopologyTests
This commit is contained in:
Corentin Wallez 2018-02-06 09:55:55 -05:00 committed by Corentin Wallez
parent 099656dc7a
commit 02d24d3c5e
1 changed files with 1 additions and 0 deletions

View File

@ -24,6 +24,7 @@ namespace backend { namespace d3d12 {
spirv_cross::CompilerGLSL::Options options_glsl; spirv_cross::CompilerGLSL::Options options_glsl;
options_glsl.vertex.fixup_clipspace = true; options_glsl.vertex.fixup_clipspace = true;
options_glsl.vertex.flip_vert_y = true;
compiler.spirv_cross::CompilerGLSL::set_options(options_glsl); compiler.spirv_cross::CompilerGLSL::set_options(options_glsl);
spirv_cross::CompilerHLSL::Options options_hlsl; spirv_cross::CompilerHLSL::Options options_hlsl;