summaryrefslogtreecommitdiffstats
path: root/scons
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2014-11-17 14:29:45 -0700
committerBrian Paul <[email protected]>2014-11-17 15:07:54 -0700
commit11abd7b2bc49455bb8c5b2f9e60f92d4284ae6c2 (patch)
treec2f28457def03394d2da5238f70c82f2b36a13ef /scons
parent920f8751322f65c63c78974628e3ed223ab4e064 (diff)
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" <[email protected]> Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'scons')
0 files changed, 0 insertions, 0 deletions