diff options
author | Tim Rowley <[email protected]> | 2016-08-17 14:30:32 -0500 |
---|---|---|
committer | Tim Rowley <[email protected]> | 2016-08-17 17:08:55 -0500 |
commit | 0ff57446e3786243c6d752c91be2108595f2663e (patch) | |
tree | c2c4c830729736554c65663e9f50a8a065e0dbcd /src/gallium/drivers/swr/swr_context.h | |
parent | 6209dbf5a44c8fc3f4e5b0eeb16619a11d5657bf (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.h | 1 |
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]; |