mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-05-03 02:34:48 +12:00
[PICA] Implement mul
This commit is contained in:
parent
f22d389591
commit
61212c9341
2 changed files with 24 additions and 0 deletions
include/PICA
|
@ -14,6 +14,7 @@ namespace ShaderOpcodes {
|
|||
enum : u32 {
|
||||
ADD = 0x00,
|
||||
DP4 = 0x02,
|
||||
MUL = 0x08,
|
||||
MOV = 0x13,
|
||||
END = 0x22
|
||||
};
|
||||
|
@ -41,6 +42,7 @@ class PICAShader {
|
|||
void add(u32 instruction);
|
||||
void dp4(u32 instruction);
|
||||
void mov(u32 instruction);
|
||||
void mul(u32 instruction);
|
||||
|
||||
// src1, src2 and src3 have different negation & component swizzle bits in the operand descriptor
|
||||
// https://problemkaputt.github.io/gbatek.htm#3dsgpushaderinstructionsetopcodesummary in the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue