summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/swr/swr_context.h
diff options
context:
space:
mode:
authorTim Rowley <[email protected]>2016-08-17 14:30:32 -0500
committerTim Rowley <[email protected]>2016-08-17 17:08:55 -0500
commit0ff57446e3786243c6d752c91be2108595f2663e (patch)
treec2c4c830729736554c65663e9f50a8a065e0dbcd /src/gallium/drivers/swr/swr_context.h
parent6209dbf5a44c8fc3f4e5b0eeb16619a11d5657bf (diff)
swr: [rasterizer core] only use Viewport/Scissors during SwrDraw* operations
Add explicit rects for: - SwrClearRenderTarget - SwrDiscardRect - SwrInvalidateTiles - SwrStoreTiles Signed-off-by: Tim Rowley <[email protected]>
Diffstat (limited to 'src/gallium/drivers/swr/swr_context.h')
-rw-r--r--src/gallium/drivers/swr/swr_context.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/swr/swr_context.h b/src/gallium/drivers/swr/swr_context.h
index b4553fb171b..6854d697db9 100644
--- a/src/gallium/drivers/swr/swr_context.h
+++ b/src/gallium/drivers/swr/swr_context.h
@@ -121,6 +121,7 @@ struct swr_context {
struct pipe_framebuffer_state framebuffer;
struct pipe_poly_stipple poly_stipple;
struct pipe_scissor_state scissor;
+ SWR_RECT swr_scissor;
struct pipe_sampler_view *
sampler_views[PIPE_SHADER_TYPES][PIPE_MAX_SHADER_SAMPLER_VIEWS];