summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/teximage.c
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2016-07-08 18:41:03 -0400
committerIlia Mirkin <[email protected]>2016-07-11 21:17:01 -0400
commit8ee3cdde049d30095451f44080a9cd2d6e949459 (patch)
tree49396094316feb60ad068a509bdd0efcbc3469c6 /src/mesa/main/teximage.c
parent0d911a720da9677ad0410fdfeab8e81546427102 (diff)
mesa: etc2 online compression is unsupported, don't attempt it
Signed-off-by: Ilia Mirkin <[email protected]> Reviewed-by: Anuj Phogat <[email protected]> Cc: "11.2 12.0" <[email protected]>
Diffstat (limited to 'src/mesa/main/teximage.c')
-rw-r--r--src/mesa/main/teximage.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c
index 26a6c21cd0f..81e46a170ae 100644
--- a/src/mesa/main/teximage.c
+++ b/src/mesa/main/teximage.c
@@ -1307,6 +1307,7 @@ bool
_mesa_format_no_online_compression(const struct gl_context *ctx, GLenum format)
{
return _mesa_is_astc_format(format) ||
+ _mesa_is_etc2_format(format) ||
compressedteximage_only_format(ctx, format);
}