summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorLaura Ekstrand <[email protected]>2014-12-09 12:19:13 -0800
committerLaura Ekstrand <[email protected]>2015-01-08 11:37:28 -0800
commit838ef5b7816bf7a2fbde25b602b5150e92398c0a (patch)
treedd888cf6d3df36f7d9fd5482bae27b91e7516d32 /src/mesa/drivers
parent60e3bfddaf6ab4f8385561654dfe4e0034d8bc9d (diff)
i965: blit_texture_to_pbo() now accepts TEXTURE_CUBE_MAP.
ARB_DIRECT_STATE_ACCESS permits the user to use TEXTURE_CUBE_MAP as a target. Reviewed-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/i965/intel_tex_image.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_tex_image.c b/src/mesa/drivers/dri/i965/intel_tex_image.c
index 331777919c6..855a6b4eab4 100644
--- a/src/mesa/drivers/dri/i965/intel_tex_image.c
+++ b/src/mesa/drivers/dri/i965/intel_tex_image.c
@@ -459,6 +459,7 @@ blit_texture_to_pbo(struct gl_context *ctx,
if (target == GL_TEXTURE_1D_ARRAY ||
target == GL_TEXTURE_2D_ARRAY ||
+ target == GL_TEXTURE_CUBE_MAP ||
target == GL_TEXTURE_CUBE_MAP_ARRAY ||
target == GL_TEXTURE_3D) {
perf_debug("%s: no support for multiple slices, fallback to CPU mapping "