OSDN Git Service

Set render targets correctly when drawing
authorChris Forbes <chrisforbes@google.com>
Thu, 21 Feb 2019 22:58:28 +0000 (14:58 -0800)
committerChris Forbes <chrisforbes@google.com>
Sat, 23 Feb 2019 02:27:50 +0000 (02:27 +0000)
commit7c33e88eebb5a5e5c66363f4e35616fca5979fe7
tree6db79de5957f5eb91083fef5dd27f688dbecec5c
parentd2452555986f60d361d4a4f4574c181217e5d739
Set render targets correctly when drawing

There are some horrible hacks in here -- the draw command should not be
doing anywhere near this much work -- but this gets us to first
triangle.

Passes: dEQP-VK.api.smoke.triangle

Bug: b/124177079
Change-Id: I4240cb8cdce2f4bbb804e88e66d1695ab0b0e41e
Reviewed-on: https://swiftshader-review.googlesource.com/c/25212
Tested-by: Chris Forbes <chrisforbes@google.com>
Reviewed-by: Nicolas Capens <nicolascapens@google.com>
Reviewed-by: Alexis Hétu <sugoi@google.com>
Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
src/Device/PixelProcessor.cpp
src/Device/PixelProcessor.hpp
src/Vulkan/VkCommandBuffer.cpp
src/Vulkan/VkFramebuffer.cpp
src/Vulkan/VkFramebuffer.hpp
src/Vulkan/VkImage.hpp
src/Vulkan/VkImageView.cpp
src/Vulkan/VkImageView.hpp