projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0823df
)
radeonsi: don't always apply the PrimID instancing bug workaround on SI
author
Marek Olšák
<marek.olsak@amd.com>
Tue, 5 Sep 2017 15:04:31 +0000
(17:04 +0200)
committer
Marek Olšák
<marek.olsak@amd.com>
Thu, 7 Sep 2017 11:00:06 +0000
(13:00 +0200)
It looks like commit
391673af7ad1565a5f6ac8fc2f8c9fcdd1fe9908
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>
src/gallium/drivers/radeonsi/si_state_draw.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeonsi/si_state_draw.c
b/src/gallium/drivers/radeonsi/si_state_draw.c
index 051dfea8f7c6747d191329e5655298957958a3c6..363a4aed5d510b19661b7179faf896b0ded200dc 100644
(file)
--- a/
src/gallium/drivers/radeonsi/si_state_draw.c
+++ b/
src/gallium/drivers/radeonsi/si_state_draw.c
@@
-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;