mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-23 17:22:00 +01:00
Supply dispatcher manually for shader creation
This commit is contained in:
parent
3404a3abdb
commit
ec4ea5c5d7
@ -8,6 +8,7 @@
|
||||
#include <shader_compiler/common/log.h>
|
||||
#include <shader_compiler/frontend/maxwell/translate_program.h>
|
||||
#include <shader_compiler/backend/spirv/emit_spirv.h>
|
||||
#include <vulkan/vulkan_raii.hpp>
|
||||
#include "shader_manager.h"
|
||||
|
||||
namespace Shader::Log {
|
||||
@ -214,7 +215,7 @@ namespace skyline::gpu {
|
||||
.codeSize = spirv.size() * sizeof(u32),
|
||||
};
|
||||
|
||||
return (*gpu.vkDevice).createShaderModule(createInfo);
|
||||
return (*gpu.vkDevice).createShaderModule(createInfo, nullptr, *gpu.vkDevice.getDispatcher());
|
||||
}
|
||||
|
||||
void ShaderManager::ResetPools() {
|
||||
|
Loading…
Reference in New Issue
Block a user