[Mesa-dev] [PATCH V2 4/5] i965/vs: Add support for shadow comparitors with gather4

Kenneth Graunke kenneth at whitecape.org
Sat Oct 26 09:54:17 CEST 2013


On 10/14/2013 01:30 AM, Chris Forbes wrote:
> gather4_c's argument layout is straightforward -- refz just goes on the
> end.
> 
> gather4_po_c's layout however -- the array index is replaced with refz.

That is really strange...especially since GLSL requires supporting
textureGatherOffset with sampler2DArrayShadow.  Do we just need to
specify the array index as the 'r' coordinate?  Have you tested it?

This looks right in all the other cases.

This series is:
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>


More information about the mesa-dev mailing list