summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_pipe.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2015-08-29 15:05:53 +0200
committerMarek Olšák <[email protected]>2015-09-01 21:51:14 +0200
commitc44de3097925e0d7b4f310432448a62a681189d5 (patch)
tree31aef63016df7eb38126b8c3cac7dadbeaf171f2 /src/gallium/drivers/radeonsi/si_pipe.h
parent74aa64876b54bc2d0088bc9ed2d390eaa2b73349 (diff)
radeonsi: convert blend color state into an atom
Reviewed-by: Alex Deucher <[email protected]> Acked-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_pipe.h')
-rw-r--r--src/gallium/drivers/radeonsi/si_pipe.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.h b/src/gallium/drivers/radeonsi/si_pipe.h
index 4d479e0990e..60124ea5cb5 100644
--- a/src/gallium/drivers/radeonsi/si_pipe.h
+++ b/src/gallium/drivers/radeonsi/si_pipe.h
@@ -93,6 +93,11 @@ struct si_screen {
struct r600_common_screen b;
};
+struct si_blend_color {
+ struct r600_atom atom;
+ struct pipe_blend_color state;
+};
+
struct si_sampler_view {
struct pipe_sampler_view base;
struct list_head list;
@@ -192,6 +197,7 @@ struct si_context {
struct r600_resource *border_color_table;
unsigned border_color_offset;
+ struct si_blend_color blend_color;
struct si_scissors scissors;
struct si_viewports viewports;
struct si_clip_state clip_state;