mesa/src
Iago Toral Quiroga 867c436ca8 glsl/lower_ubo_reference: split array copies into element copies
Improves register pressure, since otherwise we end up emitting
loads for all the elements in the RHS and them emitting
stores for all elements in the LHS.

v2:
  - Mark progress properly. This also fixes some instances where the added
    nodes with individual element copies where not being lowered, which is
    expected behavior as explained in the documentation for
    visit_list_elements.
  - Only need to do this if the RHS is a buffer-backed variable.
  - We can also have arrays inside structs. A later patch will make it so
    we also split struct copies and end up with multiple
    ir_dereference_record assignments, so make sure that if any of these
    is an array copy, we also split it.

Fixes the following piglit tests:
tests/spec/arb_shader_storage_buffer_object/execution/large-field-copy.shader_test
tests/spec/arb_shader_storage_buffer_object/linker/copy-large-array.shader_test

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
2015-12-01 13:29:57 +01:00
..
egl egl: don't forget to ship platform_x11_dri3.h into the tarball 2015-11-20 18:08:04 +00:00
gallium st/va: also retrieve reference frames info for h264 2015-12-01 08:21:37 +00:00
gbm gbm.h: Add a missing stddef.h include for size_t. 2015-10-30 19:12:14 +00:00
getopt
glsl glsl/lower_ubo_reference: split array copies into element copies 2015-12-01 13:29:57 +01:00
glx glx/dri3: Convert to use dri3 helper in loader library 2015-11-17 17:26:20 +02:00
gtest mesa: Enable subdir-objects globally. 2015-06-26 12:55:25 +01:00
hgl glapi/hgl: Drop extern "C" as it was added to glapi 2015-05-13 15:26:29 -04:00
loader loader: unconditionally add AM_CPPFLAGS to libloader_la_CPPFLAGS 2015-11-23 12:07:50 +00:00
mapi mesa: remove ARB_geometry_shader4 2015-11-26 08:40:46 +01:00
mesa i965/fs: remove unused fs_reg offset 2015-11-30 10:00:40 +01:00
util util: Tiny optimisation for the linear→srgb conversion 2015-11-27 10:55:22 +01:00
Makefile.am glsl: move shader_enums into nir 2015-10-09 15:03:28 -04:00
SConscript scons: rework the EGL build 2015-07-22 16:35:27 +01:00