diff options
author | Ian Romanick <[email protected]> | 2013-08-19 14:27:31 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2013-08-21 07:48:31 -0700 |
commit | f53b634807140268b40b063a2a966ad2701df7be (patch) | |
tree | fd519d82e71c5b285bf2363a4345903953432931 | |
parent | 40550c8cedbcca508fb05baa7b7d480e6a60c51f (diff) |
mesa: Never advertise _S3TC compressed formats
The NVIDIA driver doesn't expose them, and piglit's
arb_texture_compression-invalid-formats expects them to not be there.
This, with the previous commit, fixes piglit
arb_texture_compression-invalid-formats.
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Anuj Phogat <[email protected]>
Cc: "9.2" <[email protected]>
-rw-r--r-- | src/mesa/main/texcompress.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/mesa/main/texcompress.c b/src/mesa/main/texcompress.c index 334ea4068d9..e71d0c411da 100644 --- a/src/mesa/main/texcompress.c +++ b/src/mesa/main/texcompress.c @@ -264,18 +264,6 @@ _mesa_get_compressed_formats(struct gl_context *ctx, GLint *formats) n += 3; } } - if (_mesa_is_desktop_gl(ctx) - && ctx->Extensions.ANGLE_texture_compression_dxt) { - if (formats) { - formats[n++] = GL_RGB_S3TC; - formats[n++] = GL_RGB4_S3TC; - formats[n++] = GL_RGBA_S3TC; - formats[n++] = GL_RGBA4_S3TC; - } - else { - n += 4; - } - } /* The GL_OES_compressed_ETC1_RGB8_texture spec says: * |