[Mesa-dev] [PATCH 0/8] gl_FragCoord and gl_FrontFacing as system values

eocallaghan at alterapraxis.com eocallaghan at alterapraxis.com
Thu Jan 7 21:35:28 PST 2016


This series is:

Reviewed-by: Edward O'Callaghan <eocallaghan at alterapraxis.com>

On 2016-01-08 12:29, Marek Olšák wrote:
> Hi,
> 
> This series adds the possibility for drivers to get gl_FragCoord and
> gl_FrontFacing as system values. When FACE is a system value, it also
> changes its type to integer from floating-point.
> 
> Each variable has its own Const flag / Gallium CAP, so drivers can
> choose whether they want this for each variable.
> 
> This simplifies input handling in the radeonsi driver. With this, TGSI
> INPUT[i] becomes fragment shader input[i] in the hardware, so the
> driver doesn't have to do any translation of locations.
> 
> Please review.
> 
> Marek
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev



More information about the mesa-dev mailing list