Procházet zdrojové kódy

r600g: fix tex and vtx joining

tags/android-x86-2.2-r2
Christian König před 14 roky
rodič
revize
cc0f604241
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2
    2
      src/gallium/drivers/r600/r600_asm.c

+ 2
- 2
src/gallium/drivers/r600/r600_asm.c Zobrazit soubor

@@ -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;
}

Načítá se…
Zrušit
Uložit