mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-06-03 12:27:21 +12:00
[ShaderJIT] FIx crashes, moar instructions
This commit is contained in:
parent
1aea8199c5
commit
2cb249927e
2 changed files with 72 additions and 5 deletions
|
@ -27,6 +27,9 @@ class ShaderEmitter : public Xbyak::CodeGenerator {
|
|||
// Filled before compiling a shader by scanning the code for call instructions
|
||||
std::vector<u32> returnPCs;
|
||||
|
||||
// Vector value of (-0.0, -0.0, -0.0, -0.0) for negating vectors via pxor
|
||||
Label negateVector;
|
||||
|
||||
u32 recompilerPC = 0; // PC the recompiler is currently recompiling @
|
||||
bool haveSSE4_1 = false; // Shows if the CPU supports SSE4.1
|
||||
|
||||
|
@ -73,6 +76,8 @@ class ShaderEmitter : public Xbyak::CodeGenerator {
|
|||
void recJMPC(const PICAShader& shader, u32 instruction);
|
||||
void recJMPU(const PICAShader& shader, u32 instruction);
|
||||
void recLOOP(const PICAShader& shader, u32 instruction);
|
||||
void recMAD(const PICAShader& shader, u32 instruction);
|
||||
void recMADI(const PICAShader& shader, u32 instruction);
|
||||
void recMAX(const PICAShader& shader, u32 instruction);
|
||||
void recMIN(const PICAShader& shader, u32 instruction);
|
||||
void recMOVA(const PICAShader& shader, u32 instruction);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue