mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 11:00:11 +01:00
i965: stuff the outputs into mrf registers when possible
This commit is contained in:
parent
4e1a445866
commit
93d90c6b57
1 changed files with 8 additions and 3 deletions
|
|
@ -117,9 +117,14 @@ static void brw_vs_alloc_regs( struct brw_vs_compile *c,
|
|||
mrf++;
|
||||
}
|
||||
#else
|
||||
/* for now stuff everything in grf */
|
||||
c->regs[TGSI_FILE_OUTPUT][i] = brw_vec8_grf(reg, 0);
|
||||
reg++;
|
||||
/*treat pos differently for now */
|
||||
if (i == info->pos_idx) {
|
||||
c->regs[TGSI_FILE_OUTPUT][i] = brw_vec8_grf(reg, 0);
|
||||
reg++;
|
||||
} else {
|
||||
c->regs[TGSI_FILE_OUTPUT][i] = brw_message_reg(mrf);
|
||||
mrf++;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue