[Mesa-dev] [PATCH] gtn: Trim out unused VS input variables.

Kenneth Graunke kenneth at whitecape.org
Sat Aug 20 03:29:53 UTC 2016


On Friday, August 19, 2016 6:38:57 PM PDT Eric Anholt wrote:
> If we're going to skip setting up vertex input data in them, we should
> probably not leave them as vertex inputs with a driver_location that
> happens to alias to something else.
> 
> Fixes a regression in glsl-mat-attribute on vc4 when enabling GTN.
> ---
>  src/mesa/state_tracker/st_glsl_to_nir.cpp | 27 ++++++++++++++++++++-------
>  1 file changed, 20 insertions(+), 7 deletions(-)

Oh, I'd probably label this "st/nir: ..." rather than "gtn: ..."
since I normally think of src/compiler/glsl/glsl_to_nir.cpp as "gtn".
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160819/e2dccd0f/attachment.sig>


More information about the mesa-dev mailing list