summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader/async_shaders.h
diff options
context:
space:
mode:
authorameerj <aj662@drexel.edu>2020-08-16 22:33:21 +0200
committerameerj <aj662@drexel.edu>2020-08-16 22:33:21 +0200
commitfde8102a415c546e88346258bf42de2a248113b1 (patch)
tree779cea4b53392250383420318a111b075621f48a /src/video_core/shader/async_shaders.h
parentMorph: Update worker allocation comment (diff)
downloadyuzu-fde8102a415c546e88346258bf42de2a248113b1.tar
yuzu-fde8102a415c546e88346258bf42de2a248113b1.tar.gz
yuzu-fde8102a415c546e88346258bf42de2a248113b1.tar.bz2
yuzu-fde8102a415c546e88346258bf42de2a248113b1.tar.lz
yuzu-fde8102a415c546e88346258bf42de2a248113b1.tar.xz
yuzu-fde8102a415c546e88346258bf42de2a248113b1.tar.zst
yuzu-fde8102a415c546e88346258bf42de2a248113b1.zip
Diffstat (limited to 'src/video_core/shader/async_shaders.h')
-rw-r--r--src/video_core/shader/async_shaders.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/video_core/shader/async_shaders.h b/src/video_core/shader/async_shaders.h
index 5b58dd9bd..d5ae814d5 100644
--- a/src/video_core/shader/async_shaders.h
+++ b/src/video_core/shader/async_shaders.h
@@ -55,7 +55,6 @@ public:
std::vector<u64> code;
std::vector<u64> code_b;
Tegra::Engines::ShaderType shader_type;
- std::unique_ptr<Vulkan::VKGraphicsPipeline> pipeline;
};
explicit AsyncShaders(Core::Frontend::EmuWindow& emu_window);
@@ -110,7 +109,7 @@ private:
std::vector<u64> code_b;
u32 main_offset;
VideoCommon::Shader::CompilerSettings compiler_settings;
- const VideoCommon::Shader::Registry* registry;
+ std::optional<VideoCommon::Shader::Registry> registry;
VAddr cpu_address;
// For Vulkan