summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_gpe.h
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2013-07-13 05:54:25 +0800
committerChia-I Wu <[email protected]>2013-07-13 06:43:53 +0800
commit9047598a8d8081bfca656ce471062140a83e3d26 (patch)
treeb521a29c5b0b35d4fd0445be5b895272e7a474fe /src/gallium/drivers/ilo/ilo_gpe.h
parente0a7565832b567a2ffc65b08d21500ba5d914415 (diff)
ilo: clean up ilo_blitter_pipe_begin()
Document why certain states need to be saved, and fix a bug when blitting with scissor enabled.
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_gpe.h')
-rw-r--r--src/gallium/drivers/ilo/ilo_gpe.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/ilo/ilo_gpe.h b/src/gallium/drivers/ilo/ilo_gpe.h
index 67674768e35..27fa57e2d38 100644
--- a/src/gallium/drivers/ilo/ilo_gpe.h
+++ b/src/gallium/drivers/ilo/ilo_gpe.h
@@ -113,6 +113,8 @@ struct ilo_viewport_state {
struct ilo_scissor_state {
/* SCISSOR_RECT */
uint32_t payload[ILO_MAX_VIEWPORTS * 2];
+
+ struct pipe_scissor_state scissor0;
};
struct ilo_rasterizer_clip {