Discovered new GPU opcode for constant setting.

This commit is contained in:
Ben Vanik
2015-03-15 12:26:40 -07:00
parent 4d61bac00f
commit 341a493bf9
3 changed files with 23 additions and 4 deletions

View File

@@ -405,6 +405,7 @@ enum Type3Opcode {
PM4_SET_STATE = 0x25, // fetch state sub-blocks and initiate shader code DMAs
PM4_SET_CONSTANT = 0x2d, // load constant into chip and to memory
PM4_LOAD_ALU_CONSTANT = 0x2f, // load constants from memory
PM4_SET_SHADER_CONSTANTS = 0x56, // ?? constant values
PM4_IM_LOAD = 0x27, // load sequencer instruction memory (pointer-based)
PM4_IM_LOAD_IMMEDIATE = 0x2b, // load sequencer instruction memory (code embedded in packet)
PM4_LOAD_CONSTANT_CONTEXT = 0x2e, // load constants from a location in memory