aboutsummaryrefslogtreecommitdiffstats
path: root/docs/relnotes-7.8.2.html
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2011-10-13 13:42:56 -0700
committerIan Romanick <[email protected]>2011-11-07 13:33:16 -0800
commit637a7eb9e981d7dbe3bdb0c39712a9183ea19e9c (patch)
tree532d5cb5ce26d31dbc2a80a06bc48da683a231ea /docs/relnotes-7.8.2.html
parent4ad460991cb1f4d8904b075133af414a624a27f3 (diff)
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 <[email protected]> Tested-by: Tom Stellard <[email protected]>
Diffstat (limited to 'docs/relnotes-7.8.2.html')
0 files changed, 0 insertions, 0 deletions