Bug 55147 - Piglit oes_compressed_etc1_rgb8_texture-basic fails
Summary: Piglit oes_compressed_etc1_rgb8_texture-basic fails
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: low normal
Assignee: Chad Versace
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-20 14:15 UTC by Chad Versace
Modified: 2013-01-30 19:20 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Chad Versace 2012-09-20 14:15:44 UTC
This test has never passed. For reference, ETC1 support was added to the Intel drivers on commit 8dc074cd92dfc2.

The test fails with the following output:

Mesa: User error: GL_INVALID_OPERATION in glTexImage2D(format = GL_RGB, internalFormat = GL_ETC1_RGB8_OES)
Mesa: User error: GL_INVALID_VALUE in glCopyTexImage2D(internalFormat)
Mesa: User error: GL_INVALID_OPERATION in glTexSubImage2D
Mesa: User error: GL_INVALID_OPERATION in glCopyTexSubImage2D(undefined texture level: 0)
Mesa: User error: GL_INVALID_VALUE in glCompressedTexSubImage2D
Unexpected GL error: GL_INVALID_OPERATION 0x502
(Error at /home/chad/proj/linux/graphics/v/master/src/piglit/tests/spec/oes_compressed_etc1_rgb8_texture/oes_compressed_etc1_rgb8_texture-basic.c:54)
Expected GL error: GL_INVALID_VALUE 0x501
Unexpected GL error: GL_INVALID_VALUE 0x501
(Error at /home/chad/proj/linux/graphics/v/master/src/piglit/tests/spec/oes_compressed_etc1_rgb8_texture/oes_compressed_etc1_rgb8_texture-basic.c:69)
Expected GL error: GL_INVALID_OPERATION 0x502
PIGLIT: {'result': 'fail' }
Comment 1 Eric Anholt 2013-01-11 00:28:49 UTC
Works for me, at least until I break it with transcode.  What's up?
Comment 2 Chad Versace 2013-01-11 22:08:18 UTC
(In reply to comment #1)
> Works for me, at least until I break it with transcode.  What's up?

This bug was out-of-date and referred to the wrong test. Sometime ago, oes_compressed_etc1_rgb8_texture-miptree was split into two tests: oes_compressed_etc1_rgb8_texture-basic and oes_compressed_etc1_rgb8_texture-miptree.

I just updated the bug to refer to the basic test. And it is still failing.
Comment 3 Chad Versace 2013-01-30 19:20:14 UTC
Change to RESOLVED/FIXED.

Failures were due to bugs in the test. Fixed by Piglit commits:

19cb09c etc1: Fix glTexSubImage2D call in basic API test
c367161 etc1: Fix glTexImage2D call in basic API test


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.