GSP Shared Memory: Difference between revisions
m →Prepare Command List Processing: Rename command |
→Trigger Texture Copy: Document Texture Copy command. |
||
Line 241: | Line 241: | ||
|- | |- | ||
| 1 | | 1 | ||
| Input buffer address | | Input buffer address. | ||
|- | |- | ||
| 2 | | 2 | ||
| Output buffer address | | Output buffer address. | ||
|- | |- | ||
| 3 | | 3 | ||
| | | Total bytes to copy, not including gaps. | ||
|- | |- | ||
| 4 | | 4 | ||
| | | Bits 0-15: Size of input line, in bytes. Bits 16-31: Gap between input lines, in bytes. | ||
|- | |- | ||
| 5 | | 5 | ||
| | | Same as 4, but for the output. | ||
|- | |- | ||
| 6 | | 6 | ||
| Flags, | | Flags, corresponding to the [[GPU/External_Registers#Transfer_Engine|Transfer Engine flags]]. However, for TextureCopy commands, bit 3 is always set, bit 2 is set if any output dimension is smaller than the input, and other bits are always 0. | ||
|- | |- | ||
| 7 | | 7 | ||
Line 262: | Line 262: | ||
|} | |} | ||
This command is similar to cmd3. It also | This command is similar to cmd3. It also triggers the [[GPU/External_Registers#Transfer_Engine|GPU Transfer Engine]], but setting the TextureCopy parameters. | ||
== Flush Cache Regions == | == Flush Cache Regions == |