OSDN Git Service

Implemented depth and stencil clear command
authorAlexis Hetu <sugoi@google.com>
Thu, 17 Jan 2019 19:51:43 +0000 (14:51 -0500)
committerAlexis Hétu <sugoi@google.com>
Thu, 17 Jan 2019 20:46:07 +0000 (20:46 +0000)
commit7ca9f4a00e29a824588a59676ad64ac3cb494be3
treebd88e7b326aed178ea842e9456efeba79bd27ef7
parentf14ed32040fbe4462ab6fd88536e85228c270615
Implemented depth and stencil clear command

Added the ClearDepthStencilImage command and made some minor adjustments
to Image clear functions to make the depth and stencil clears work.

Passes all test in:
api.image_clearing.dedicated_allocation.clear_depth_stencil_image.*

Bug b/119620767

Change-Id: If4cfe6aa97b955c9bc7881bba89ab725897c36f9
Reviewed-on: https://swiftshader-review.googlesource.com/c/23728
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Chris Forbes <chrisforbes@google.com>
src/Vulkan/VkCommandBuffer.cpp
src/Vulkan/VkImage.cpp
src/Vulkan/VkImage.hpp
src/Vulkan/libVulkan.cpp