[Mesa-dev] [PATCH 13/16] i965: Disable hardware blending if advanced blending is in use.

Kenneth Graunke kenneth at whitecape.org
Sat Aug 13 06:05:37 UTC 2016


On Friday, August 12, 2016 9:46:59 PM PDT Jason Ekstrand wrote:
> On Aug 12, 2016 8:13 PM, "Kenneth Graunke" <kenneth at whitecape.org> wrote:
> >
> > We'll do blending in the shader in this case, so just disable the
> > hardware blending.
> >
> > Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
> > ---
> >  src/mesa/drivers/dri/i965/gen8_blend_state.c | 5 ++++-
> 
> Drive-by comment: why are you only doing this for gen8 when we're
> supporting the extension all the way back to gen4?
> 
> As a side-note, wouldn't it be nice if it were all in one file?...

Er, right.  I'll need to fix that...I'd originally only turned it on
for Gen9+ where we had render target reads.  Thanks for catching that!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160812/090eac78/attachment.sig>


More information about the mesa-dev mailing list