mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-19 08:37:56 -05:00
shaders: Fix GCC and clang build issues.
This commit is contained in:
@ -131,7 +131,7 @@ public:
|
||||
}
|
||||
|
||||
template <typename... T>
|
||||
void Create(bool separable_program = false, T... shaders) {
|
||||
void Create(bool separable_program, T... shaders) {
|
||||
if (handle != 0)
|
||||
return;
|
||||
handle = GLShader::LoadProgram(separable_program, shaders...);
|
||||
|
@ -236,7 +236,7 @@ private:
|
||||
|
||||
switch (OpCode::GetInfo(instr.opcode).type) {
|
||||
case OpCode::Type::Arithmetic: {
|
||||
ASSERT(!instr.alu.abs_d, "unimplemented");
|
||||
ASSERT(!instr.alu.abs_d);
|
||||
|
||||
std::string dest = GetRegister(instr.gpr0);
|
||||
std::string op_a = instr.alu.negate_a ? "-" : "";
|
||||
|
Reference in New Issue
Block a user