[PICA] Implement add

This commit is contained in:
wheremyfoodat 2022-09-24 03:05:59 +03:00
parent 4868eebcd2
commit f22d389591
2 changed files with 24 additions and 2 deletions

View file

@ -12,6 +12,7 @@ enum class ShaderType {
namespace ShaderOpcodes {
enum : u32 {
ADD = 0x00,
DP4 = 0x02,
MOV = 0x13,
END = 0x22
@ -37,6 +38,7 @@ class PICAShader {
vec4f& getDest(u32 dest);
// Shader opcodes
void add(u32 instruction);
void dp4(u32 instruction);
void mov(u32 instruction);