diff options
author | Topi Pohjolainen <[email protected]> | 2015-05-06 20:31:49 +0300 |
---|---|---|
committer | Topi Pohjolainen <[email protected]> | 2015-05-07 22:30:17 +0300 |
commit | dae7183cdd3a73a14b1b9098d1fc8456dd5a8f93 (patch) | |
tree | 31d765f83469c894c5e9ccbe9779d452628f0331 /src/mesa/drivers/dri/i965/brw_state.h | |
parent | d14f3e14b43fd02ad46f697af53d21c40833452c (diff) |
i965/wm/gen6: Refactor state setup
Reviewed-by: Kenneth Graunke <[email protected]>
Signed-off-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_state.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_state.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_state.h b/src/mesa/drivers/dri/i965/brw_state.h index adfbd22c359..18449c43c18 100644 --- a/src/mesa/drivers/dri/i965/brw_state.h +++ b/src/mesa/drivers/dri/i965/brw_state.h @@ -330,6 +330,17 @@ void brw_update_sampler_state(struct brw_context *brw, uint32_t *sampler_state, uint32_t batch_offset_for_sampler_state); +/* gen6_wm_state.c */ +void +gen6_upload_wm_state(struct brw_context *brw, + const struct brw_fragment_program *fp, + const struct brw_wm_prog_data *prog_data, + const struct brw_stage_state *stage_state, + bool multisampled_fbo, int min_inv_per_frag, + bool dual_source_blend_enable, bool kill_enable, + bool color_buffer_write_enable, bool msaa_enabled, + bool line_stipple_enable, bool polygon_stipple_enable); + /* gen6_sf_state.c */ void calculate_attr_overrides(const struct brw_context *brw, |