diff options
author | Rodrigo Locatti <reinuseslisp@airmail.cc> | 2020-01-11 02:46:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-11 02:46:34 +0100 |
commit | b1138e5ea1d839abc8e936075067f04885745f7e (patch) | |
tree | 5a70952b8d01cbefab7c575f145a392c0ebbf8d2 | |
parent | vk_compute_pass: Add compute passes to emulate missing Vulkan features (diff) | |
download | yuzu-b1138e5ea1d839abc8e936075067f04885745f7e.tar yuzu-b1138e5ea1d839abc8e936075067f04885745f7e.tar.gz yuzu-b1138e5ea1d839abc8e936075067f04885745f7e.tar.bz2 yuzu-b1138e5ea1d839abc8e936075067f04885745f7e.tar.lz yuzu-b1138e5ea1d839abc8e936075067f04885745f7e.tar.xz yuzu-b1138e5ea1d839abc8e936075067f04885745f7e.tar.zst yuzu-b1138e5ea1d839abc8e936075067f04885745f7e.zip |
-rw-r--r-- | src/video_core/renderer_vulkan/vk_compute_pass.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/renderer_vulkan/vk_compute_pass.cpp b/src/video_core/renderer_vulkan/vk_compute_pass.cpp index 9f882a15e..7bdda3d79 100644 --- a/src/video_core/renderer_vulkan/vk_compute_pass.cpp +++ b/src/video_core/renderer_vulkan/vk_compute_pass.cpp @@ -22,6 +22,7 @@ namespace Vulkan { namespace { +// Quad array SPIR-V module. Generated from the "shaders/" directory, read the instructions there. constexpr u8 quad_array[] = { 0x03, 0x02, 0x23, 0x07, 0x00, 0x00, 0x01, 0x00, 0x07, 0x00, 0x08, 0x00, 0x54, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x11, 0x00, 0x02, 0x00, 0x01, 0x00, 0x00, 0x00, 0x0b, 0x00, 0x06, 0x00, @@ -113,6 +114,7 @@ constexpr u8 quad_array[] = { 0xf9, 0x00, 0x02, 0x00, 0x4c, 0x00, 0x00, 0x00, 0xf8, 0x00, 0x02, 0x00, 0x4b, 0x00, 0x00, 0x00, 0xfd, 0x00, 0x01, 0x00, 0x38, 0x00, 0x01, 0x00}; +// Uint8 SPIR-V module. Generated from the "shaders/" directory. constexpr u8 uint8_pass[] = { 0x03, 0x02, 0x23, 0x07, 0x00, 0x00, 0x01, 0x00, 0x07, 0x00, 0x08, 0x00, 0x2f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x11, 0x00, 0x02, 0x00, 0x01, 0x00, 0x00, 0x00, 0x11, 0x00, 0x02, 0x00, |