summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/shaderobj.c
diff options
context:
space:
mode:
authorLaura Ekstrand <[email protected]>2015-03-17 12:55:41 -0700
committerLaura Ekstrand <[email protected]>2015-03-19 16:07:57 -0700
commit09bfa326a90a0ec1ddce0dc971d7d4b429884266 (patch)
tree879dac3cfbb150563af7807defe8288e06aa4cea /src/mesa/main/shaderobj.c
parent037e36a8aad623b0e16e4d69774dbeb5bcf456d1 (diff)
main: Add TEXTURE_CUBE_MAP support in CopyTextureSubImage3D.
So it turns out that this doesn't actually fix any bugs or add any features, stictly speaking. However, it does avoid a lot of kludginess. Previously, if you called glCopyTextureSubImage3D(texcube, 0, 0, 0, zoffset = 3, ... it would grab the texture image object for face = 0 in teximage.c instead of the desired face = 3. But Line 274 of brw_blorp_blit.cpp would correct for this by updating the slice to 3. This commit does the correct thing before calling any drivers, which should make the functionality much more robust and uniform across all drivers. Reviewed-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src/mesa/main/shaderobj.c')
0 files changed, 0 insertions, 0 deletions