diff options
author | ameerj <aj662@drexel.edu> | 2020-07-30 21:41:11 +0200 |
---|---|---|
committer | ameerj <aj662@drexel.edu> | 2020-08-16 18:02:22 +0200 |
commit | 4539073ce1d8fd6df03263e826d3805b4909e055 (patch) | |
tree | d0ed30c327c5b6da9c6d6c8ba256803167f00de2 /src/video_core/shader/async_shaders.h | |
parent | Vk Async pipeline compilation (diff) | |
download | yuzu-4539073ce1d8fd6df03263e826d3805b4909e055.tar yuzu-4539073ce1d8fd6df03263e826d3805b4909e055.tar.gz yuzu-4539073ce1d8fd6df03263e826d3805b4909e055.tar.bz2 yuzu-4539073ce1d8fd6df03263e826d3805b4909e055.tar.lz yuzu-4539073ce1d8fd6df03263e826d3805b4909e055.tar.xz yuzu-4539073ce1d8fd6df03263e826d3805b4909e055.tar.zst yuzu-4539073ce1d8fd6df03263e826d3805b4909e055.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/shader/async_shaders.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/shader/async_shaders.h b/src/video_core/shader/async_shaders.h index 702026ce2..d4eeb8fb6 100644 --- a/src/video_core/shader/async_shaders.h +++ b/src/video_core/shader/async_shaders.h @@ -100,7 +100,7 @@ private: bool HasWorkQueued(); struct WorkerParams { - AsyncShaders::Backend backend; + Backend backend; // For OGL const OpenGL::Device* device; Tegra::Engines::ShaderType shader_type; @@ -128,7 +128,7 @@ private: std::atomic<bool> is_thread_exiting{}; std::vector<std::unique_ptr<Core::Frontend::GraphicsContext>> context_list; std::vector<std::thread> worker_threads; - std::deque<WorkerParams> pending_queue; + std::queue<std::unique_ptr<WorkerParams>> pending_queue; std::vector<AsyncShaders::Result> finished_work; Core::Frontend::EmuWindow& emu_window; }; |