mesa/src
Paul Berry c35abcd1b0 glsl: Pack flat "varyings" of mixed types together.
This patch enhances the varying packing code so that flat varyings of
uint, int, and float types can be packed together.

We accomplish this in lower_packed_varyings.cpp by making the type of
all flat varyings ivec4, and then using information-preserving type
conversions (e.g. ir_unop_bitcast_f2i) to convert all other types to
ints.

The varying_matches::compute_packing_class() function is updated to
reflect the fact that varying packing no longer needs to segregate
varyings of different base types.

Fixes piglit test varying-packing-mixed-types.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>

v2: Split lower_packed_varyings_visitor::bitwise_assign into
pack/unpack variants.
2013-01-08 09:18:14 -08:00
..
egl egl/wayland: Remove kooky flush code 2013-01-04 11:20:12 -05:00
gallium winsys/radeon: bump the size of relocation hashlist 2013-01-08 16:41:57 +01:00
gbm gbm: Use the kms dumb ioctls for cursor instead of libkms 2012-10-21 13:00:49 -04:00
getopt
glsl glsl: Pack flat "varyings" of mixed types together. 2013-01-08 09:18:14 -08:00
glx glx/dri2: set the __DRI2_FLUSH_DRAWABLE flag where it should be set 2012-12-07 14:19:28 +01:00
gtest build: Fix gtest out-of-tree build 2012-08-14 10:54:39 -07:00
mapi mesa: assert if driver did not compute the version 2012-12-16 15:30:28 -08:00
mesa mesa: Add ALIGN() macro to main/macros.h. 2013-01-08 09:08:57 -08:00
.gitignore Add new .gitignore entries for Automake 1.13 tests 2013-01-03 15:24:45 -08:00
Makefile.am automake: Convert src/Makefile to automake. 2012-06-11 09:28:00 -07:00
SConscript Remove libGLU 2012-08-31 10:58:15 -07:00