From: Kenneth Graunke Date: Thu, 21 May 2015 14:53:09 +0000 (-0700) Subject: i965: Remove _NEW_MULTISAMPLE dirty bit from 3DSTATE_PS_EXTRA. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=70c6f2323e602d115b21db8f2bf212223fdef921;p=mesa.git i965: Remove _NEW_MULTISAMPLE dirty bit from 3DSTATE_PS_EXTRA. BRW_NEW_NUM_SAMPLES is sufficient. Signed-off-by: Kenneth Graunke Reviewed-by: Chris Forbes --- diff --git a/src/mesa/drivers/dri/i965/gen8_ps_state.c b/src/mesa/drivers/dri/i965/gen8_ps_state.c index 85ad3b6c551..6b9489bf7f6 100644 --- a/src/mesa/drivers/dri/i965/gen8_ps_state.c +++ b/src/mesa/drivers/dri/i965/gen8_ps_state.c @@ -72,7 +72,7 @@ upload_ps_extra(struct brw_context *brw) brw_fragment_program_const(brw->fragment_program); /* BRW_NEW_FS_PROG_DATA */ const struct brw_wm_prog_data *prog_data = brw->wm.prog_data; - /* BRW_NEW_NUM_SAMPLES | _NEW_MULTISAMPLE */ + /* BRW_NEW_NUM_SAMPLES */ const bool multisampled_fbo = brw->num_samples > 1; gen8_upload_ps_extra(brw, &fp->program, prog_data, multisampled_fbo); @@ -80,7 +80,7 @@ upload_ps_extra(struct brw_context *brw) const struct brw_tracked_state gen8_ps_extra = { .dirty = { - .mesa = _NEW_MULTISAMPLE, + .mesa = 0, .brw = BRW_NEW_CONTEXT | BRW_NEW_FRAGMENT_PROGRAM | BRW_NEW_FS_PROG_DATA |