Fix viewport inversion.

This commit is contained in:
Ben Vanik 2016-02-21 15:59:35 -08:00
parent ace895d4f3
commit 1def5bece9
1 changed files with 1 additions and 1 deletions

View File

@ -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;