mesa/src
Brian Paul 11abd7b2bc st/mesa: copy sampler_array_size field when copying instructions
The sampler_array_size field was added by "mesa/st: add support for
dynamic sampler offsets".  But the field wasn't getting copied in
the get_pixel_transfer_visitor() or get_bitmap_visitor() functions.

The count_resources() function then didn't properly compute the
glsl_to_tgsi_visitor::samplers_used bitmask.  Then, we didn't declare
all the sampler registers in st_translate_program().  Finally, we
asserted when we tried to emit a tgsi ureg src register with File =
TGSI_FILE_UNDEFINED.

Add the missing assignments and some new assertions to catch the
invalid register sooner.

Cc: "10.3, 10.4" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
2014-11-17 15:07:54 -07:00
..
egl egl: remove egl_gallium from the loader 2014-11-14 16:16:12 +01:00
gallium gallium/tests: add missing arg to util_make_vertex_passthrough_shader() 2014-11-17 10:20:24 -07:00
gbm dri/kms: Always zero out struct drm_mode_create_dumb 2014-11-16 01:03:40 +00:00
getopt
glsl linker: Add a missing space in an error message 2014-11-13 16:46:12 +00:00
glx glx/dri3: Implement LIBGL_SHOW_FPS=1 for DRI3/Present. 2014-10-29 15:13:58 -07:00
gtest gtest: Update to 1.7.0. 2014-04-14 00:06:53 -07:00
hgl gallium/targets: Break haiku state_tracker out to own directory 2014-08-28 21:27:29 -04:00
loader loader: Check dlsym() did not fail in libudev_get_device_name_for_fd() 2014-09-23 10:25:02 +03:00
mapi mesa: Add support for the GL_KHR_context_flush_control extension 2014-10-28 16:40:18 +00:00
mesa st/mesa: copy sampler_array_size field when copying instructions 2014-11-17 15:07:54 -07:00
util util: Implement unreachable for MSVC using __assume 2014-11-05 09:36:04 -08:00
Makefile.am automake: handle gallium SUBDIRs in gallium/Makefile 2014-08-13 00:46:54 +01:00
SConscript util: Move ralloc to a new src/util directory. 2014-08-04 11:06:58 -07:00