mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-12-17 00:06:08 +00:00
gl_shader_cache: Address CI issues
This commit is contained in:
parent
725ba6cf63
commit
bbecd13697
|
@ -102,7 +102,7 @@ constexpr std::tuple<const char*, const char*, u32> GetPrimitiveDescription(GLen
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
constexpr ProgramType GetProgramType(Maxwell::ShaderProgram program) {
|
ProgramType GetProgramType(Maxwell::ShaderProgram program) {
|
||||||
switch (program) {
|
switch (program) {
|
||||||
case Maxwell::ShaderProgram::VertexA:
|
case Maxwell::ShaderProgram::VertexA:
|
||||||
return ProgramType::VertexA;
|
return ProgramType::VertexA;
|
||||||
|
@ -118,6 +118,7 @@ constexpr ProgramType GetProgramType(Maxwell::ShaderProgram program) {
|
||||||
return ProgramType::Fragment;
|
return ProgramType::Fragment;
|
||||||
}
|
}
|
||||||
UNREACHABLE();
|
UNREACHABLE();
|
||||||
|
return {};
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Calculates the size of a program stream
|
/// Calculates the size of a program stream
|
||||||
|
|
|
@ -81,8 +81,7 @@ layout (std140, binding = EMULATION_UBO_BINDING) uniform gs_config {
|
||||||
)";
|
)";
|
||||||
|
|
||||||
const ShaderIR program_ir(setup.program.code, PROGRAM_OFFSET, setup.program.size_a);
|
const ShaderIR program_ir(setup.program.code, PROGRAM_OFFSET, setup.program.size_a);
|
||||||
ProgramResult program =
|
ProgramResult program = Decompile(device, program_ir, ProgramType::Geometry, "geometry");
|
||||||
Decompile(device, program_ir, ProgramType::Geometry, "geometry");
|
|
||||||
out += program.first;
|
out += program.first;
|
||||||
|
|
||||||
out += R"(
|
out += R"(
|
||||||
|
|
Loading…
Reference in a new issue