mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-04 12:50:25 +01:00
i965: Don't write mrf assignment for pointsize output
https://bugs.freedesktop.org/show_bug.cgi?id=31894
(cherry picked from commit a889f9ee5c)
This commit is contained in:
parent
ce8f4f266e
commit
6b96b002c8
1 changed files with 2 additions and 1 deletions
|
|
@ -272,7 +272,6 @@ static void brw_vs_alloc_regs( struct brw_vs_compile *c )
|
|||
else if (i == VERT_RESULT_PSIZ) {
|
||||
c->regs[PROGRAM_OUTPUT][i] = brw_vec8_grf(reg, 0);
|
||||
reg++;
|
||||
mrf++; /* just a placeholder? XXX fix later stages & remove this */
|
||||
}
|
||||
else {
|
||||
/* Two restrictions on our compute-to-MRF here. The
|
||||
|
|
@ -1488,6 +1487,8 @@ static void emit_vertex_write( struct brw_vs_compile *c)
|
|||
break;
|
||||
if (!(c->prog_data.outputs_written & BITFIELD64_BIT(i)))
|
||||
continue;
|
||||
if (i == VERT_RESULT_PSIZ)
|
||||
continue;
|
||||
|
||||
if (i >= VERT_RESULT_TEX0 &&
|
||||
c->regs[PROGRAM_OUTPUT][i].file == BRW_GENERAL_REGISTER_FILE) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue