summaryrefslogtreecommitdiffstats
path: root/src/mesa/Android.gen.mk
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2011-10-13 13:42:56 -0700
committerIan Romanick <ian.d.romanick@intel.com>2011-11-07 13:33:16 -0800
commit637a7eb9e981d7dbe3bdb0c39712a9183ea19e9c (patch)
tree532d5cb5ce26d31dbc2a80a06bc48da683a231ea /src/mesa/Android.gen.mk
parent4ad460991cb1f4d8904b075133af414a624a27f3 (diff)
downloadexternal_mesa3d-637a7eb9e981d7dbe3bdb0c39712a9183ea19e9c.zip
external_mesa3d-637a7eb9e981d7dbe3bdb0c39712a9183ea19e9c.tar.gz
external_mesa3d-637a7eb9e981d7dbe3bdb0c39712a9183ea19e9c.tar.bz2
mesa: Move {split,merge}_location_offset to uniforms.h
Prepend _mesa_uniform_ to the names and rework the calling convention. The calling convention was changed for a couple reasons. 1. Having a single variable named 'location' have completely different meanings at different places in the function is confusing. Before calling split_location_offset the location is the encoded value returned by glGetUniformLocation. After calling split_location_offset it's the index of the uniform in the gl_uniform_list::Uniforms array. 2. In a later commit the original value of 'location' is needed after split_location_offset has been called. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Tested-by: Tom Stellard <thomas.stellard@amd.com>
Diffstat (limited to 'src/mesa/Android.gen.mk')
0 files changed, 0 insertions, 0 deletions