r300: add array with conflict values for the vp register classes
Signed-off-by: Pavel Ondračka <pavel.ondracka@gmail.com> Reviewed-by: Filip Gawin <filip@gawin.net> Tested-by: Filip Gawin <filip@gawin.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19618>
This commit is contained in:
committed by
Marge Bot
parent
431467b1d9
commit
b9fe2df952
@@ -395,6 +395,13 @@ void rc_init_regalloc_state(struct rc_regalloc_state *s)
|
||||
{1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}
|
||||
};
|
||||
|
||||
const unsigned q_values_vp[RC_REG_CLASS_VP_COUNT][RC_REG_CLASS_VP_COUNT] = {
|
||||
{1, 2, 3, 4},
|
||||
{3, 5, 6, 6},
|
||||
{3, 4, 4, 4},
|
||||
{1, 1, 1, 1}
|
||||
};
|
||||
|
||||
/* Allocate the main ra data structure */
|
||||
s->regs = ra_alloc_reg_set(NULL, R500_PFS_NUM_TEMP_REGS * RC_MASK_XYZW,
|
||||
true);
|
||||
|
||||
Reference in New Issue
Block a user