OSDN Git Service

VkPipeline simple implementation
authorAlexis Hetu <sugoi@google.com>
Thu, 15 Nov 2018 21:25:38 +0000 (16:25 -0500)
committerAlexis Hétu <sugoi@google.com>
Thu, 6 Dec 2018 16:11:00 +0000 (16:11 +0000)
commitc0f92f2308d17a2d8a327825f050ddac1b9611c5
tree1ce11156a08d86a00858f261231f3764d54059b5
parentc730c3846064ff21412474e582e429867e891a27
VkPipeline simple implementation

Added a few class members and adjusted the VkPipeline constructor
to extract basic parameters which will be used for rendering, like:
- Basic sw::Context parameters
- Scissor
- Viewport
- BlendConstants

Note: sw::Context should eventually be replaced by VkPipeline and be
      used directly by sw::Renderer once all existing OpenGL ES 3.0
      has been converted from VkPipeline.

(Chris: rebase + build system fixes for CMake path)

Change-Id: I7e7a9ff3c768da8e8c1e9461e140af4986429602
Reviewed-on: https://swiftshader-review.googlesource.com/c/22613
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Corentin Wallez <cwallez@google.com>
CMakeLists.txt
src/Vulkan/VkPipeline.cpp
src/Vulkan/VkPipeline.hpp
src/Vulkan/VkShaderModule.cpp
src/Vulkan/VkShaderModule.hpp
src/Vulkan/libVulkan.cpp