mesa/src
Kenneth Graunke d367a1cbdb glsl: Add simple vector type accessor helpers.
This patch introduces new functions to quickly grab a pointer to a
vector type.  For example:

   glsl_type::bvec(4)   returns   glsl_type::bvec4_type
   glsl_type::ivec(3)   returns   glsl_type::ivec3_type
   glsl_type::uvec(2)   returns   glsl_type::uvec2_type
   glsl_type::vec(1)    returns   glsl_type::float_type

This is less wordy than glsl_type::get_instance(GLSL_TYPE_BOOL, 4, 1),
which can help avoid extra word wrapping.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
2013-06-26 11:25:12 -07:00
..
egl wayland: Handle global_remove event as well 2013-06-18 17:45:19 -04:00
gallium hud: add float casts to silence MSVC warnings 2013-06-26 10:42:59 -06:00
gbm gbm: Remember to init format on gbm_dri_bo_create. 2013-02-07 20:00:52 -05:00
getopt
glsl glsl: Add simple vector type accessor helpers. 2013-06-26 11:25:12 -07:00
glx mesa: remove outdated version lines in comments 2013-06-05 08:54:27 -06:00
gtest gtest: Build it only for 'make check'. 2013-01-13 12:38:44 +01:00
mapi mesa: update glext.h to version 20130624 2013-06-26 10:43:27 -06:00
mesa st/mesa: add casts to silence MSVC warnings 2013-06-26 10:42:59 -06:00
Makefile.am build: Remove GALLIUM_DIRS 2013-04-15 12:04:26 -07:00
SConscript