mesa/src
Brian Paul 01bf8bb875 st/mesa: don't use address register for constant-indexed ir_binop_ubo_load
Before, we were always using the address register and indirect addressing
to index into a UBO constant buffer.  With this change we only do that
when necessary.

Using the piglit bin/arb_uniform_buffer_object-rendering test as an
example:

Shader code:
  uniform ub_rot {float rotation; };
  ...
  m[1][1] = cos(rotation);

Before:
  IMM[1] INT32 {0, 1, 0, 0}
  1: UARL ADDR[0].x, IMM[1].xxxx
  2: MOV TEMP[0].x, CONST[3][ADDR[0].x].xxxx
  3: COS TEMP[1].x, TEMP[0].xxxx

After:
  0: COS TEMP[0].x, CONST[3][0].xxxx

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
2014-07-01 09:42:44 -06:00
..
egl egl: Remove unused variable dri_driver_path. 2014-06-17 10:18:12 -07:00
gallium nvc0: expose 4 vertex streams, use stream ids in xfb 2014-07-01 11:34:40 -04:00
gbm gbm: Remove 64x64 restriction from GBM_BO_USE_CURSOR 2014-06-12 16:13:39 +09:00
getopt
glsl Remove the ATI_envmap_bumpmap extension 2014-06-30 12:02:25 -07:00
glx glx/dri3: add GPU offloading support. 2014-07-01 13:07:52 +10:00
gtest gtest: Update to 1.7.0. 2014-04-14 00:06:53 -07:00
hgl haiku libGL: Move from gallium target to src/hgl 2014-01-06 15:50:21 -06:00
loader loader: Use drirc device_id parameter in complement to DRI_PRIME 2014-07-01 13:07:40 +10:00
mapi Remove the ATI_envmap_bumpmap extension 2014-06-30 12:02:25 -07:00
mesa st/mesa: don't use address register for constant-indexed ir_binop_ubo_load 2014-07-01 09:42:44 -06:00
Makefile.am loader: Use drirc device_id parameter in complement to DRI_PRIME 2014-07-01 13:07:40 +10:00
SConscript loader: introduce the loader util lib 2014-01-18 18:47:27 +00:00