meta: Unconditionally set GL_SKIP_DECODE_EXT
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 10 Nov 2015 23:18:54 +0000 (15:18 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 11 Jan 2016 23:38:04 +0000 (15:38 -0800)
commit5be700e5cc7c391ed197e46d2928856761409e8b
tree5f0f3c9f1dbc58c58d4f98473091d309ed13090a
parent1799eddb510bef502901c097ddce9e40d58ff09d
meta: Unconditionally set GL_SKIP_DECODE_EXT

The path that depends on this will be avoided (by fallback_required) if
the extension is not supported.  _mesa_set_sampler_srgb_decode does not
generate GL errors (by design), so there are no problems there.

I kept this change separate and last because it is one of the few in the
series that is not a candidate for the stable branch.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/mesa/drivers/common/meta.c
src/mesa/drivers/common/meta_generate_mipmap.c