GPU/Shader Instruction Set: Difference between revisions
mNo edit summary |
|||
Line 292: | Line 292: | ||
It appears that writing twice to the same output register can cause problems, such as the GPU hanging. | It appears that writing twice to the same output register can cause problems, such as the GPU hanging. | ||
DST mapping : | |||
{| class="wikitable" border="1" | |||
|- | |||
! DST raw value | |||
! Register name | |||
! Description | |||
|- | |||
| 0x0-0x7 | |||
| o0-o7 | |||
| Output registers. | |||
|- | |||
| 0x10-0x1F | |||
| r0-r15 | |||
| Temporary registers. | |||
|} | |||
SRC1 mapping : | |||
{| class="wikitable" border="1" | |||
|- | |||
! SRC1 raw value | |||
! Register name | |||
! Description | |||
|- | |||
| 0x0-0x7 | |||
| v0-v7 | |||
| Input attribute registers. | |||
|- | |||
| 0x10-0x1F | |||
| r0-r15 | |||
| Temporary registers. | |||
|- | |||
| 0x20-0x7C | |||
| c0-c92 | |||
| Vector uniform registers. | |||
|} | |||
SRC2 mapping : | |||
{| class="wikitable" border="1" | |||
|- | |||
! SRC2 raw value | |||
! Register name | |||
! Description | |||
|- | |||
| 0x0-0x7 | |||
| v0-v7 | |||
| Input attribute registers. | |||
|- | |||
| 0x10-0x1F | |||
| r0-r15 | |||
| Temporary registers. | |||
|- | |||
| 0x20-0x7C | |||
| c0-c92 | |||
| Vector uniform registers. | |||
|} |