[Mesa-dev] [PATCH 2/5] mesa/main: Add generic bits of ARB_clear_texture implementation

Neil Roberts neil at linux.intel.com
Mon Jun 16 03:49:20 PDT 2014

Ilia Mirkin <imirkin at alum.mit.edu> writes:

>> +   if (ctx->Version >= 30 || ctx->Extensions.EXT_texture_integer) {
> Just ctx->Extensions.EXT_texture_integer should be enough here, no?

I'm reluctant to change this because every other place in the code that
checks for integer textures does it in the same way. Perhaps if we
wanted to change it then we should do it in a separate patch and change
it everywhere. I think it might theoretically make sense to expose GL 3
without GL_EXT_texture_integer in some cases because the extension
implies supporting luminance integer textures whereas GL 3 does not.

This bit of code implies that Mesa treats the two types of support for
integer textures distinctly:


- Neil

More information about the mesa-dev mailing list