[Mesa-dev] [PATCH 03/41] i965: intel_tex_image.c now accepts TEXTURE_CUBE_MAP as a valid target.

Anuj Phogat anuj.phogat at gmail.com
Wed Dec 17 04:20:35 PST 2014


How about using below subject?
i965: intel_get_tex_image() now accepts TEXTURE_CUBE_MAP as a valid target

It's more specific than using a file name. I'll leave it up to you if
you want to make this change.

On Tue, Dec 16, 2014 at 6:52 AM, Laura Ekstrand <laura at jlekstrand.net> wrote:
> ARB_DIRECT_STATE_ACCESS permits the user to use TEXTURE_CUBE_MAP as a target.
> ---
>  src/mesa/drivers/dri/i965/intel_tex_image.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/src/mesa/drivers/dri/i965/intel_tex_image.c b/src/mesa/drivers/dri/i965/intel_tex_image.c
> index 3317779..855a6b4 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 "
> --
> 2.1.0
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list