mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-07 13:00:21 +01:00
aco: declare phys regs for tba_hi/tma_hi
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32026>
This commit is contained in:
parent
13bab450a2
commit
d1d41be43f
2 changed files with 5 additions and 3 deletions
|
|
@ -12498,7 +12498,7 @@ select_trap_handler_shader(Program* program, struct nir_shader* shader, ac_shade
|
|||
/* disable_wqm */ false, cache_glc);
|
||||
} else {
|
||||
/* Load the buffer descriptor from TMA. */
|
||||
bld.smem(aco_opcode::s_load_dwordx4, Definition(tma_rsrc, s4), Operand(PhysReg{tma}, s2),
|
||||
bld.smem(aco_opcode::s_load_dwordx4, Definition(tma_rsrc, s4), Operand(PhysReg{tma_lo}, s2),
|
||||
Operand::zero());
|
||||
|
||||
/* Store TTMP0-TTMP1. */
|
||||
|
|
|
|||
|
|
@ -423,8 +423,10 @@ static constexpr PhysReg flat_scr_lo{102}; /* GFX8-GFX9, encoded differently on
|
|||
static constexpr PhysReg flat_scr_hi{103}; /* GFX8-GFX9, encoded differently on GFX6-7 */
|
||||
static constexpr PhysReg vcc{106};
|
||||
static constexpr PhysReg vcc_hi{107};
|
||||
static constexpr PhysReg tba{108}; /* GFX6-GFX8 */
|
||||
static constexpr PhysReg tma{110}; /* GFX6-GFX8 */
|
||||
static constexpr PhysReg tba_lo{108}; /* GFX6-GFX8 */
|
||||
static constexpr PhysReg tba_hi{109}; /* GFX6-GFX8 */
|
||||
static constexpr PhysReg tma_lo{110}; /* GFX6-GFX8 */
|
||||
static constexpr PhysReg tma_hi{111}; /* GFX6-GFX8 */
|
||||
static constexpr PhysReg ttmp0{112};
|
||||
static constexpr PhysReg ttmp1{113};
|
||||
static constexpr PhysReg ttmp2{114};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue