[vk] Fix fallback viewport/scissor origin handling #294
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "viewport-fallback"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When viewport_scale_offset_enabled is disabled, the fallback path
previously assumed a top-left origin for both viewport and scissor.
This caused incorrect positioning or inverted geometry when the GPU
state expected a lower-left origin.
This change:
flip height negative to emulate lower-left in Vulkan’s top-left space.
ensures width/height fall back to 1 if zero, avoiding invalid extents.
This aligns Vulkan’s viewport/scissor behavior with Maxwell state,
fixing rendering issues in paths without scale/offset enabled.
[vk] Apply fallback patch for Viewportto [vk] Fix fallback viewport/scissor origin handlingAdded a fix for Dynamic Vertex Input state handling as well.
[vk] Fix fallback viewport/scissor origin handlingto [vk] More vulkan fixes[vk] More vulkan fixesto [vk] Fix fallback viewport/scissor origin handling7571a36993
c1a9c6b1ca
to194031096e
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.