On Friday, October 21, 2016 2:18:00 PM PDT Anuj Phogat wrote: > We follow this rule at multiple places in i965 driver. This patch > doesn't fix any testcase. > > Signed-off-by: Anuj Phogat <anuj.pho...@gmail.com> > --- > src/mesa/drivers/dri/i965/gen8_blend_state.c | 15 +++++++++------ > 1 file changed, 9 insertions(+), 6 deletions(-) > > diff --git a/src/mesa/drivers/dri/i965/gen8_blend_state.c > b/src/mesa/drivers/dri/i965/gen8_blend_state.c > index 84cbf60..c721da1 100644 > --- a/src/mesa/drivers/dri/i965/gen8_blend_state.c > +++ b/src/mesa/drivers/dri/i965/gen8_blend_state.c > @@ -218,13 +218,16 @@ gen8_upload_ps_blend(struct brw_context *brw) > if (brw_color_buffer_write_enabled(brw)) > dw1 |= GEN8_PS_BLEND_HAS_WRITEABLE_RT; > > - /* _NEW_COLOR */ > - if (ctx->Color.AlphaEnabled) > - dw1 |= GEN8_PS_BLEND_ALPHA_TEST_ENABLE; > + if(!buffer0_is_integer) {
^^^ space before paren Nice cleanup. Series is: Reviewed-by: Kenneth Graunke <kenn...@whitecape.org>
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev