summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2015-08-29 01:56:27 +0200
committerMarek Olšák <[email protected]>2015-09-01 21:51:14 +0200
commitc9a3196b14500bcd4330f9e7ba945474440a07f2 (patch)
treef14f6561d76ff84ddce5a7f110c5a997e76885f2 /src/gallium
parenta2c6ae07b443396b43493155c2418de9a5ee9591 (diff)
radeonsi: don't clear the tessellation factor ring buffer
Leftover from the bring-up. Reviewed-by: Alex Deucher <[email protected]> Acked-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/radeonsi/si_state_shaders.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state_shaders.c b/src/gallium/drivers/radeonsi/si_state_shaders.c
index 8ef02c48855..a4c33fa6202 100644
--- a/src/gallium/drivers/radeonsi/si_state_shaders.c
+++ b/src/gallium/drivers/radeonsi/si_state_shaders.c
@@ -1260,8 +1260,6 @@ static void si_init_tess_factor_ring(struct si_context *sctx)
sctx->tf_ring = pipe_buffer_create(sctx->b.b.screen, PIPE_BIND_CUSTOM,
PIPE_USAGE_DEFAULT,
32768 * sctx->screen->b.info.max_se);
- sctx->b.clear_buffer(&sctx->b.b, sctx->tf_ring, 0,
- sctx->tf_ring->width0, fui(0), false);
assert(((sctx->tf_ring->width0 / 4) & C_030938_SIZE) == 0);
/* Append these registers to the init config state. */