diff options
author | Jason Ekstrand <jason.ekstrand@intel.com> | 2015-01-12 13:08:44 -0800 |
---|---|---|
committer | Jason Ekstrand <jason.ekstrand@intel.com> | 2015-01-13 09:34:44 -0800 |
commit | d2517c989cc146aa961ed493364b521310b8a899 (patch) | |
tree | cac92620b6f5834187568309b36b0a95e439782c | |
parent | 5dfffe0dbadf7e66c526e487c700f325775a02d0 (diff) |
texture-packed-formats: Don't try bother with ABGR_EXT formats
Since GL_ABGR_EXT was extension number 1 to the GL spec, it didn't take
packed formats into account. As far as I can tell from the way the packed
formats extensions are written, packed formats with GL_ABGR_EXT isn't
allowed by the spec. NVIDIA allows it but AMD doesn't and our driver
hasn't allowed ith with UNSIGNED_INT_5_5_5_1 as of c471b09bf4. Let's stop
testing invalid things.
Tested-by: Mark Janes <mark.a.janes@intel.com>
Reviewed-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
-rw-r--r-- | tests/texturing/texture-packed-formats.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/tests/texturing/texture-packed-formats.c b/tests/texturing/texture-packed-formats.c index 1c92b1c38..87da808bf 100644 --- a/tests/texturing/texture-packed-formats.c +++ b/tests/texturing/texture-packed-formats.c @@ -89,19 +89,6 @@ static const struct pixel_format Formats[] = { { "GL_BGRA/GL_UNSIGNED_SHORT_1_5_5_5_REV", GL_BGRA, GL_UNSIGNED_SHORT_1_5_5_5_REV, 2, 0xfc00, 0x83e0 }, - { "GL_ABGR_EXT/GL_UNSIGNED_INT_8_8_8_8", - GL_ABGR_EXT, GL_UNSIGNED_INT_8_8_8_8, 4, 0x800000ff, 0x8000ff00 }, - { "GL_ABGR_EXT/GL_UNSIGNED_INT_8_8_8_8_REV", - GL_ABGR_EXT, GL_UNSIGNED_INT_8_8_8_8_REV, 4, 0xff000080, 0x00ff0080 }, - { "GL_ABGR_EXT/GL_UNSIGNED_SHORT_4_4_4_4", - GL_ABGR_EXT, GL_UNSIGNED_SHORT_4_4_4_4, 2, 0x800f, 0x80f0 }, - { "GL_ABGR_EXT/GL_UNSIGNED_SHORT_4_4_4_4_REV", - GL_ABGR_EXT, GL_UNSIGNED_SHORT_4_4_4_4_REV, 2, 0xf008, 0x0f08 }, - { "GL_ABGR_EXT/GL_UNSIGNED_SHORT_5_5_5_1", - GL_ABGR_EXT, GL_UNSIGNED_SHORT_5_5_5_1, 2, 0xf801, 0xf83e }, - { "GL_ABGR_EXT/GL_UNSIGNED_SHORT_1_5_5_5_REV", - GL_ABGR_EXT, GL_UNSIGNED_SHORT_1_5_5_5_REV, 2, 0x800f, 0x7c0f }, - { "GL_RGB/GL_UNSIGNED_SHORT_5_6_5", GL_RGB, GL_UNSIGNED_SHORT_5_6_5, 2, 0xf800, 0x7e0 }, { "GL_RGB/GL_UNSIGNED_SHORT_5_6_5_REV", |