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

Laura Ekstrand laura at jlekstrand.net
Wed Dec 17 17:50:26 PST 2014


Sure.  It's now
i965: blit_texture_to_pbo() now accepts TEXTURE_CUBE_MAP.

On Wed, Dec 17, 2014 at 4:20 AM, Anuj Phogat <anuj.phogat at gmail.com> wrote:
>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20141217/01ad2c03/attachment.html>


More information about the mesa-dev mailing list