summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_hw_context.c
diff options
context:
space:
mode:
authorMarek Olšák <marek.olsak@amd.com>2016-06-24 02:17:38 +0200
committerMarek Olšák <marek.olsak@amd.com>2016-06-24 17:36:43 +0200
commit28d0d0c5b4ba9e636b540fafa3b9b2157e848757 (patch)
tree20960d753d774cdd02b35f99266eef56196619d5 /src/gallium/drivers/radeonsi/si_hw_context.c
parent0d638f4b3d2ff9c5a00828bd3d6743d1a70cf8be (diff)
downloadexternal_mesa3d-28d0d0c5b4ba9e636b540fafa3b9b2157e848757.zip
external_mesa3d-28d0d0c5b4ba9e636b540fafa3b9b2157e848757.tar.gz
external_mesa3d-28d0d0c5b4ba9e636b540fafa3b9b2157e848757.tar.bz2
radeonsi: fix fractional odd tessellation spacing for Polaris
ported from Vulkan (and no source explains why this is needed) Cc: 12.0 <mesa-stable@lists.freedesktop.org> Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_hw_context.c')
-rw-r--r--src/gallium/drivers/radeonsi/si_hw_context.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_hw_context.c b/src/gallium/drivers/radeonsi/si_hw_context.c
index ec45d19..500eca7 100644
--- a/src/gallium/drivers/radeonsi/si_hw_context.c
+++ b/src/gallium/drivers/radeonsi/si_hw_context.c
@@ -240,6 +240,7 @@ void si_begin_new_cs(struct si_context *ctx)
ctx->last_ls_hs_config = -1;
ctx->last_rast_prim = -1;
ctx->last_sc_line_stipple = ~0;
+ ctx->last_vtx_reuse_depth = -1;
ctx->emit_scratch_reloc = true;
ctx->last_ls = NULL;
ctx->last_tcs = NULL;