Get some demos running on a64 shader JIT

This commit is contained in:
wheremyfoodat 2024-01-03 22:00:16 +02:00
parent c0621d0760
commit fe01df588b
2 changed files with 236 additions and 42 deletions

View file

@ -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;