mesa: GL_ARB_texture_storage_multisample is not optional with GL_ARB_texture_multisample
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 28 Jun 2013 01:20:33 +0000 (18:20 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 28 Jun 2013 20:35:22 +0000 (13:35 -0700)
commit41853b598c0a49b2e75d7013658806d46beceec0
tree5071f51bf625d2a3d4e44f7e1307c2a5df7c9e49
parentd5b6b7a39ba91f21278a2ad24c4ad00d454c73c6
mesa: GL_ARB_texture_storage_multisample is not optional with GL_ARB_texture_multisample

In Mesa, this extension is implemented purely in software.  Drivers may
*optionally* provide optimized paths.  If a driver enables,
GL_ARB_texture_multisample, it gets GL_ARB_texture_storage_multisample
for free.

NOTE: This has the side effect of enabling the extension in Gallium
drivers that enable GL_ARB_texture_multisample.

v2 (Ken): Still prevent multisample texture targets in TexParameter for
implementations that don't support multisampling.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/drivers/dri/i965/intel_extensions.c
src/mesa/main/extensions.c
src/mesa/main/mtypes.h
src/mesa/main/texparam.c