Anuj Phogat <anuj.pho...@gmail.com> writes:

> This is required while adding builtin system value vec{2, 3, 4}
> variables. For example:
> (declare (sys) vec2 gl_SamplePosition)
>
> Without this patch above glsl ir splits in to:
> (declare (temporary) float gl_SamplePosition_x)
> (declare (temporary) float gl_SamplePosition_y)
>
> Signed-off-by: Anuj Phogat <anuj.pho...@gmail.com>

Reviewed-by: Eric Anholt <e...@anholt.net>

Attachment: pgp7AV8gek8OV.pgp
Description: PGP signature

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to