mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-05-04 03:04:48 +12:00
More shader instruction definitions
This commit is contained in:
parent
726897231c
commit
005db316cf
2 changed files with 9 additions and 0 deletions
src/core/PICA/dynapica
|
@ -150,8 +150,13 @@ void ShaderEmitter::compileInstruction(const PICAShader& shaderUnit) {
|
|||
case ShaderOpcodes::RCP: recRCP(shaderUnit, instruction); break;
|
||||
case ShaderOpcodes::RSQ: recRSQ(shaderUnit, instruction); break;
|
||||
|
||||
// Unimplemented opcodes that don't seem to actually be used but exist in the binary
|
||||
// EMIT/SETEMIT are used in geometry shaders, however are sometimes found in vertex shaders?
|
||||
case ShaderOpcodes::EX2:
|
||||
case ShaderOpcodes::LG2:
|
||||
case ShaderOpcodes::EMIT:
|
||||
case ShaderOpcodes::SETEMIT:
|
||||
log("[ShaderJIT] Unknown PICA opcode: %02X\n", opcode);
|
||||
emitPrintLog(shaderUnit);
|
||||
break;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue