From 02d24d3c5e47754e32b9c9e17b89cff4fe742d30 Mon Sep 17 00:00:00 2001 From: Corentin Wallez Date: Tue, 6 Feb 2018 09:55:55 -0500 Subject: [PATCH] D3D12: Add back flip_vert_y. This fixes the InputStateTests and PrimitiveTopologyTests --- src/backend/d3d12/ShaderModuleD3D12.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/backend/d3d12/ShaderModuleD3D12.cpp b/src/backend/d3d12/ShaderModuleD3D12.cpp index 7efb892df2..d2968fefac 100644 --- a/src/backend/d3d12/ShaderModuleD3D12.cpp +++ b/src/backend/d3d12/ShaderModuleD3D12.cpp @@ -24,6 +24,7 @@ namespace backend { namespace d3d12 { spirv_cross::CompilerGLSL::Options options_glsl; options_glsl.vertex.fixup_clipspace = true; + options_glsl.vertex.flip_vert_y = true; compiler.spirv_cross::CompilerGLSL::set_options(options_glsl); spirv_cross::CompilerHLSL::Options options_hlsl;