gallivm,draw,llvmpipe: mass rename of unit->texture_unit/sampler_unit
authorRoland Scheidegger <sroland@vmware.com>
Sat, 26 Jan 2013 00:33:43 +0000 (16:33 -0800)
committerRoland Scheidegger <sroland@vmware.com>
Mon, 28 Jan 2013 14:58:06 +0000 (06:58 -0800)
commitcbf0f666311a5cb2720a4d6f4c540da1dd33e418
tree3c2009de6b8dc97d983bb38dfb55f8b3fc8b0574
parentc789b981b244333cfc903bcd1e2fefc010500013
gallivm,draw,llvmpipe: mass rename of unit->texture_unit/sampler_unit

Make it obvious what "unit" this is (no change in functionality).
draw still uses "unit" in places where it changes the shader by adding
texture sampling itself - it seems like this can't work with shaders
using dx10-style sample opcodes (can't mix gl-style and dx10-style
sample instructions in a shader).

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/draw/draw_llvm_sample.c
src/gallium/auxiliary/gallivm/lp_bld_sample.c
src/gallium/auxiliary/gallivm/lp_bld_sample.h
src/gallium/auxiliary/gallivm/lp_bld_sample_aos.c
src/gallium/auxiliary/gallivm/lp_bld_sample_aos.h
src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c
src/gallium/drivers/llvmpipe/lp_tex_sample.c