Procházet zdrojové kódy

radeonsi: don't always apply the PrimID instancing bug workaround on SI

It looks like commit 391673af7a that should
have fixed the perf regression didn't really change much if anything.

Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
tags/17.3-branchpoint
Marek Olšák před 8 roky
rodič
revize
17dd4856a6
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1
    1
      src/gallium/drivers/radeonsi/si_state_draw.c

+ 1
- 1
src/gallium/drivers/radeonsi/si_state_draw.c Zobrazit soubor

@@ -213,7 +213,7 @@ static void si_emit_derived_tess_state(struct si_context *sctx,
* doesn't work correctly on SI when there is no other
* SE to switch to.
*/
if (has_primid_instancing_bug)
if (has_primid_instancing_bug && tess_uses_primid)
*num_patches = 1;

sctx->last_num_patches = *num_patches;

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