]> git.tdb.fi Git - libs/gl.git/commit
Refactor handling of viewport Y axis
authorMikko Rasa <tdb@tdb.fi>
Sun, 12 Dec 2021 21:44:04 +0000 (23:44 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sun, 12 Dec 2021 21:44:04 +0000 (23:44 +0200)
commitb0db98d71aeb32d9e57315b8a06ff4068aeccbca
tree5c7ad1362dd2d3830087118b6566a4f3ae16a33f
parentfd92cb5c68eefa4d32fbedbfa41fecc433a886a3
Refactor handling of viewport Y axis

Only invert it for the swapchain render target.  This makes it easier to
sample render target textures consistently.
source/backends/vulkan/camera_backend.cpp
source/backends/vulkan/commands_backend.cpp
source/backends/vulkan/commands_backend.h
source/backends/vulkan/pipelinestate_backend.cpp
source/backends/vulkan/pipelinestate_backend.h