mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +02:00
r600g: fix tex and vtx joining
This commit is contained in:
parent
c00bc13564
commit
cc0f604241
1 changed files with 2 additions and 2 deletions
|
|
@ -672,7 +672,7 @@ int r600_bc_add_vtx(struct r600_bc *bc, const struct r600_bc_vtx *vtx)
|
|||
/* each fetch use 4 dwords */
|
||||
bc->cf_last->ndw += 4;
|
||||
bc->ndw += 4;
|
||||
if ((bc->ndw / 4) > 7)
|
||||
if ((bc->cf_last->ndw / 4) > 7)
|
||||
bc->force_add_cf = 1;
|
||||
return 0;
|
||||
}
|
||||
|
|
@ -701,7 +701,7 @@ int r600_bc_add_tex(struct r600_bc *bc, const struct r600_bc_tex *tex)
|
|||
/* each texture fetch use 4 dwords */
|
||||
bc->cf_last->ndw += 4;
|
||||
bc->ndw += 4;
|
||||
if ((bc->ndw / 4) > 7)
|
||||
if ((bc->cf_last->ndw / 4) > 7)
|
||||
bc->force_add_cf = 1;
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue