From 1def5bece922d161283c3c15f4a98a1994201d73 Mon Sep 17 00:00:00 2001 From: Ben Vanik Date: Sun, 21 Feb 2016 15:59:35 -0800 Subject: [PATCH] Fix viewport inversion. --- src/xenia/gpu/vulkan/pipeline_cache.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xenia/gpu/vulkan/pipeline_cache.cc b/src/xenia/gpu/vulkan/pipeline_cache.cc index a8938e407..542329af5 100644 --- a/src/xenia/gpu/vulkan/pipeline_cache.cc +++ b/src/xenia/gpu/vulkan/pipeline_cache.cc @@ -536,7 +536,7 @@ bool PipelineCache::SetDynamicState(VkCommandBuffer command_buffer, // Done in VS, no need to flush state. if ((regs.pa_cl_vte_cntl & (1 << 0)) > 0) { push_constants.window_scale[0] = 1.0f; - push_constants.window_scale[1] = 1.0f; + push_constants.window_scale[1] = -1.0f; } else { push_constants.window_scale[0] = 1.0f / 2560.0f; push_constants.window_scale[1] = -1.0f / 2560.0f;