From 848ffc81e4c91414ec29464ee71560547a12cd64 Mon Sep 17 00:00:00 2001 From: Axel Davy Date: Sun, 16 Oct 2016 18:17:27 +0200 Subject: st/nine: Move vtxbuf to nine_context Part of the refactor to move all gallium calls to nine_state.c, and have all internal states required for those calls in nine_context. Signed-off-by: Axel Davy --- src/gallium/state_trackers/nine/stateblock9.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/gallium/state_trackers/nine/stateblock9.c') diff --git a/src/gallium/state_trackers/nine/stateblock9.c b/src/gallium/state_trackers/nine/stateblock9.c index d0063ed774a..3ebee84471f 100644 --- a/src/gallium/state_trackers/nine/stateblock9.c +++ b/src/gallium/state_trackers/nine/stateblock9.c @@ -276,7 +276,6 @@ nine_state_copy_common(struct NineDevice9 *device, nine_bind(&dst->stream[i], src->stream[i]); if (src->stream[i]) { dst->vtxbuf[i].buffer_offset = src->vtxbuf[i].buffer_offset; - pipe_resource_reference(&dst->vtxbuf[i].buffer, src->vtxbuf[i].buffer); dst->vtxbuf[i].stride = src->vtxbuf[i].stride; } } @@ -463,7 +462,6 @@ nine_state_copy_common_all(struct NineDevice9 *device, nine_bind(&dst->stream[i], src->stream[i]); if (src->stream[i]) { dst->vtxbuf[i].buffer_offset = src->vtxbuf[i].buffer_offset; - pipe_resource_reference(&dst->vtxbuf[i].buffer, src->vtxbuf[i].buffer); dst->vtxbuf[i].stride = src->vtxbuf[i].stride; } dst->stream_freq[i] = src->stream_freq[i]; -- cgit v1.2.3