On Wed, Sep 19, 2012 at 2:13 AM, Eric Anholt <e...@anholt.net> wrote:
>
> Anuj Phogat <anuj.pho...@gmail.com> writes:
>
> > Fixes float-texture(mipmap.manual):
> > See Comment 6: https://bugs.freedesktop.org/show_bug.cgi?id=54296
>
> Can you explain why this is necessary?

_mesa_meta_GenerateMipmap()->setup_glsl_generate_mipmap()
 generates fragment shader programs based on the texture target
 used in glGenerateMipmap(target). target can be GL_TEXTURE_{1, 2, 3}D,
 GL_TEXTURE_{1, 2}D_ARRAY, or GL_TEXTURE_CUBE_MAP. An
application is free to call glGenerateMipmap() multiple times with different
texture targets. This makes it necessary to generate and compile shader
programs on every call to glGenerateMipmap().
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to