diff options
author | Dave Airlie <[email protected]> | 2012-03-24 13:37:16 +0000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2012-04-13 17:19:03 +0100 |
commit | d1cc87c0b64c2221b079015a6c3b593af83f0758 (patch) | |
tree | 8195d21ce134b15c8eb39d71f98c2b73e557916d /src/gallium/drivers/r600/r600_pipe.h | |
parent | 4b1c3b920ee921506948fc14a0b70c746a811c2f (diff) |
r600g: initial r600 dual src blending support
survives piglit with no regressions on rv610/evergreen
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_pipe.h')
-rw-r--r-- | src/gallium/drivers/r600/r600_pipe.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.h b/src/gallium/drivers/r600/r600_pipe.h index a84f9cc0822..fafc4364043 100644 --- a/src/gallium/drivers/r600/r600_pipe.h +++ b/src/gallium/drivers/r600/r600_pipe.h @@ -151,6 +151,7 @@ struct r600_pipe_blend { struct r600_pipe_state rstate; unsigned cb_target_mask; unsigned cb_color_control; + bool dual_src_blend; }; struct r600_pipe_dsa { @@ -181,6 +182,7 @@ struct r600_pipe_shader { unsigned sprite_coord_enable; unsigned flatshade; unsigned pa_cl_vs_out_cntl; + unsigned ps_cb_shader_mask; struct pipe_stream_output_info so; }; @@ -254,6 +256,8 @@ struct r600_context { struct r600_vertex_element *vertex_elements; struct pipe_framebuffer_state framebuffer; unsigned cb_target_mask; + unsigned fb_cb_shader_mask; + unsigned cb_shader_mask; unsigned cb_color_control; unsigned pa_sc_line_stipple; unsigned pa_cl_clip_cntl; @@ -346,6 +350,8 @@ struct r600_context { void *dummy_pixel_shader; bool vertex_buffers_dirty; + boolean dual_src_blend; + unsigned color0_format; }; static INLINE void r600_emit_atom(struct r600_context *rctx, struct r600_atom *atom) |