mesa/src
Matt Turner c0f67a127b i965/vs: Add a function to fix-up uniform arguments for 3-src insts.
Three-source instructions have a vertical stride overloaded to 4, which
prevents directly using vec4 uniforms as arguments. Instead we need to
insert a MOV instruction to do the replication for the three-source
instruction.

With this in place, we can use three-source instructions in the vertex
shader. While some thought needs to go into deciding whether its better
to use a three-source instruction rather than a sequence of equivalent
instructions (when one or more sources are uniforms or immediates), this
will allow us to skip a lot of ugly lowering code and use the BFE and
BFI2 instructions directly.

Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Eric Anholt <eric@anholt.net>
2013-04-25 18:27:39 -07:00
..
egl egl/dri2: Fix min/max swap interval of configs 2013-04-24 08:05:13 +02:00
gallium winsys/radeon: consolidate tracing into winsys v2 2013-04-25 18:36:31 -04:00
gbm gbm: Remember to init format on gbm_dri_bo_create. 2013-02-07 20:00:52 -05:00
getopt
glsl glsl: Teach basic block analysis about break/continue/discard. 2013-04-24 09:57:37 -07:00
glx mesa: Restore 78-column wrapping of license text in C-style comments. 2013-04-23 22:07:09 -07:00
gtest gtest: Build it only for 'make check'. 2013-01-13 12:38:44 +01:00
mapi linux: Don't emit a .note.ABI-tag section anymore (#26663) 2013-04-25 15:51:35 -04:00
mesa i965/vs: Add a function to fix-up uniform arguments for 3-src insts. 2013-04-25 18:27:39 -07:00
Makefile.am build: Remove GALLIUM_DIRS 2013-04-15 12:04:26 -07:00
SConscript Remove libGLU 2012-08-31 10:58:15 -07:00