From: Laura Ekstrand Date: Tue, 9 Dec 2014 20:19:13 +0000 (-0800) Subject: i965: blit_texture_to_pbo() now accepts TEXTURE_CUBE_MAP. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=838ef5b7816bf7a2fbde25b602b5150e92398c0a;p=mesa.git 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 --- 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 "