mirror of
https://github.com/xenia-project/xenia.git
synced 2025-12-06 07:12:03 +01:00
Fix viewport inversion.
This commit is contained in:
parent
ace895d4f3
commit
1def5bece9
|
|
@ -536,7 +536,7 @@ bool PipelineCache::SetDynamicState(VkCommandBuffer command_buffer,
|
||||||
// Done in VS, no need to flush state.
|
// Done in VS, no need to flush state.
|
||||||
if ((regs.pa_cl_vte_cntl & (1 << 0)) > 0) {
|
if ((regs.pa_cl_vte_cntl & (1 << 0)) > 0) {
|
||||||
push_constants.window_scale[0] = 1.0f;
|
push_constants.window_scale[0] = 1.0f;
|
||||||
push_constants.window_scale[1] = 1.0f;
|
push_constants.window_scale[1] = -1.0f;
|
||||||
} else {
|
} else {
|
||||||
push_constants.window_scale[0] = 1.0f / 2560.0f;
|
push_constants.window_scale[0] = 1.0f / 2560.0f;
|
||||||
push_constants.window_scale[1] = -1.0f / 2560.0f;
|
push_constants.window_scale[1] = -1.0f / 2560.0f;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue