On 12/29/2012 05:35 AM, Chris Forbes wrote:
Signed-off-by: Chris Forbes<chr...@ijw.co.nz>
---
src/mesa/main/mtypes.h | 4 ++++
src/mesa/main/texobj.c | 3 +++
2 files changed, 7 insertions(+)
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index db87ead..4be1074 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -1302,6 +1302,10 @@ struct gl_texture_object
/** GL_OES_EGL_image_external */
GLint RequiredTextureImageUnits;
+
+ /** GL_ARB_texture_multisample */
+ GLuint NumSamples; /**< Sample count, or 0 for
non-multisample */
+ GLboolean FixedSampleLocations; /**< Same sample locations for all
pixels? */
According to the extension spec, these fields should be per-image, not
per-texture so they should be in the gl_texture_image structure. The
fact that these fields are also queried with glGetTexLevelParameter()
is another clue.
-Brian
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev