[Mesa-dev] [PATCH V3 06/12] i965: Don't do vector splitting for ir_var_system_value

Eric Anholt eric at anholt.net
Fri Nov 1 17:50:40 CET 2013


Anuj Phogat <anuj.phogat at 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.phogat at gmail.com>

Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20131101/76ad6ee1/attachment.pgp>


More information about the mesa-dev mailing list