2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

gl_shader_cache: Fix clang-format issues

This commit is contained in:
ReinUsesLisp 2019-07-15 20:33:51 -03:00
parent 6b0d017675
commit 2a4044a858
2 changed files with 2 additions and 4 deletions

View file

@ -323,8 +323,7 @@ Shader CachedShader::CreateStageFromCache(const ShaderParameters& params,
new CachedShader(params, GetProgramType(program_type), std::move(result))); new CachedShader(params, GetProgramType(program_type), std::move(result)));
} }
Shader CachedShader::CreateKernelFromMemory(const ShaderParameters& params, Shader CachedShader::CreateKernelFromMemory(const ShaderParameters& params, ProgramCode&& code) {
ProgramCode&& code) {
auto result{CreateProgram(params.device, ProgramType::Compute, code, {})}; auto result{CreateProgram(params.device, ProgramType::Compute, code, {})};
const auto code_size{CalculateProgramSize(code)}; const auto code_size{CalculateProgramSize(code)};

View file

@ -55,8 +55,7 @@ class CachedShader final : public RasterizerCacheObject {
public: public:
static Shader CreateStageFromMemory(const ShaderParameters& params, static Shader CreateStageFromMemory(const ShaderParameters& params,
Maxwell::ShaderProgram program_type, Maxwell::ShaderProgram program_type,
ProgramCode&& program_code, ProgramCode&& program_code, ProgramCode&& program_code_b);
ProgramCode&& program_code_b);
static Shader CreateStageFromCache(const ShaderParameters& params, static Shader CreateStageFromCache(const ShaderParameters& params,
Maxwell::ShaderProgram program_type, Maxwell::ShaderProgram program_type,