[Mesa-dev] [PATCH 1/7] glsl: Make bvec and ivec types accessible without using get_instance.

Olivier Galibert galibert at pobox.com
Fri Jul 27 11:06:16 PDT 2012

On Fri, Jul 27, 2012 at 10:49:19AM -0700, Kenneth Graunke wrote:
> It's more convenient to use shortcuts like glsl_type::bvec2_type than
> the longwinded glsl_type::get_instance(GLSL_TYPE_BOOL, 2, 1).

Yay, code in zones I understand :-)

Reviewed-by: Olivier Galibert <galibert at pobox.com>

More information about the mesa-dev mailing list