glsl: Allow swizzles on scalars.
authorMatt Turner <mattst88@gmail.com>
Mon, 20 May 2013 18:01:37 +0000 (11:01 -0700)
committerMatt Turner <mattst88@gmail.com>
Fri, 14 Jun 2013 18:25:49 +0000 (11:25 -0700)
commited455cdb0be458454fbefb87a1a973d95dda9e6a
tree18b37f9602b81ee84a00aae154d0860fc92fdec6
parenta8492e8fe7e70c558a494da7fa2fb4a05dc51962
glsl: Allow swizzles on scalars.

Required by ARB_shading_language_420pack.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/hir_field_selection.cpp