[Mesa-dev] [PATCH 1/2] i965: Don't include missing components in the fast clear color

Neil Roberts neil at linux.intel.com
Wed Nov 4 09:11:09 PST 2015


Neil Roberts <neil at linux.intel.com> writes:

> Normally this doesn't matter because fast color clears are only
> available on Gen7+ and for that hardware we also always set the
> texture swizzle to force the missing components to zero or one.

Looking at it a bit more I think this part is wrong and it doesn't
actually set the texture swizzle in for this case. It is actually a
general problem even without the blorp. I can demonstrate it with this
simpler test which I've posted to the Piglit mailing list:

http://patchwork.freedesktop.org/patch/63678/

Apart from the commit message I think the patch is still sound and it
does fix the test case.

I tried to make a version that is based on top of Ben's skl-fast-clear
branch but it doesn't seem to work on SKL. I am currently looking into
this.

- Neil


More information about the mesa-dev mailing list