summaryrefslogtreecommitdiffstats
path: root/src/mesa/program/prog_optimize.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2015-07-21 18:35:38 -0600
committerBrian Paul <[email protected]>2015-07-21 18:35:38 -0600
commit1ad305b612f389fb04c6d51847427d5ec72fae03 (patch)
tree5a448950d2f4f668163cb322eaa314ef7e5eb360 /src/mesa/program/prog_optimize.c
parente693fc299f1f78502b9201f1e1e8f333566c9fb6 (diff)
mesa: plumb offset/size parameters through GetTexSubImage code
Needed for GL_ARB_get_texture_sub_image. But at this point, the offsets are always zero and the sizes match the whole texture image. v2: Fixes, suggestions from Laura Ekstrand: * Fix calls to ctx->Driver.UnmapTextureImage() to pass the correct slice value. * Added comments and assertions to check zoffset+depth<=tex->Depth before the 'img' loops. * Added a new zoffset==0 assert in get_tex_memcpy(). Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/mesa/program/prog_optimize.c')
0 files changed, 0 insertions, 0 deletions