mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-23 22:05:51 +12:00
Get some demos running on a64 shader JIT
This commit is contained in:
parent
c0621d0760
commit
fe01df588b
2 changed files with 236 additions and 42 deletions
|
@ -27,6 +27,9 @@ class ShaderEmitter : private oaknut::CodeBlock, public oaknut::CodeGenerator {
|
|||
// Filled before compiling a shader by scanning the code for call instructions
|
||||
std::vector<u32> returnPCs;
|
||||
|
||||
// An array of 128-bit masks for blending registers together to perform masked writes.
|
||||
// Eg for writing only the x and y components, the mask is 0x00000000'00000000'FFFFFFFF'FFFF
|
||||
oaknut::Label blendMasks;
|
||||
// Vector value of (1.0, 1.0, 1.0, 1.0) for SLT(i)/SGE(i)
|
||||
oaknut::Label onesVector;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue