Bug 105699 - s3tc fbo-generatemipmap-formats tests fail unless optimized
Summary: s3tc fbo-generatemipmap-formats tests fail unless optimized
Status: RESOLVED WORKSFORME
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: mesa-dev
QA Contact: mesa-dev
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-22 23:25 UTC by Mark Janes
Modified: 2018-06-26 00:48 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Mark Janes 2018-03-22 23:25:37 UTC
The following piglit tests fail on all Intel hardware, with -O0:

    piglit.spec.ext_texture_compression_s3tc.fbo-generatemipmap-formats
    piglit.spec.ext_texture_srgb.fbo-generatemipmap-formats-s3tc

EG:
piglit/bin/fbo-generatemipmap-formats GL_EXT_texture_compression_s3tc -auto -fbo
Using test set: GL_EXT_texture_compression_s3tc
Testing GL_COMPRESSED_RGB_S3TC_DXT1_EXT
PIGLIT: {"subtest": {"GL_COMPRESSED_RGB_S3TC_DXT1_EXT" : "pass"}}
Testing GL_COMPRESSED_RGBA_S3TC_DXT1_EXT
PIGLIT: {"subtest": {"GL_COMPRESSED_RGBA_S3TC_DXT1_EXT" : "pass"}}
Testing GL_COMPRESSED_RGBA_S3TC_DXT3_EXT
PIGLIT: {"subtest": {"GL_COMPRESSED_RGBA_S3TC_DXT3_EXT" : "pass"}}
Testing GL_COMPRESSED_RGBA_S3TC_DXT5_EXT
PIGLIT: {"subtest": {"GL_COMPRESSED_RGBA_S3TC_DXT5_EXT" : "pass"}}
Testing GL_COMPRESSED_RGB_S3TC_DXT1_EXT (NPOT)
PIGLIT: {"subtest": {"GL_COMPRESSED_RGB_S3TC_DXT1_EXT NPOT" : "pass"}}
Testing GL_COMPRESSED_RGBA_S3TC_DXT1_EXT (NPOT)
PIGLIT: {"subtest": {"GL_COMPRESSED_RGBA_S3TC_DXT1_EXT NPOT" : "pass"}}
Testing GL_COMPRESSED_RGBA_S3TC_DXT3_EXT (NPOT)
PIGLIT: {"subtest": {"GL_COMPRESSED_RGBA_S3TC_DXT3_EXT NPOT" : "pass"}}
Testing GL_COMPRESSED_RGBA_S3TC_DXT5_EXT (NPOT)
Probe color at (439,4)
  Expected: 0 255 0 63
  Observed: 0 255 0 255
PIGLIT: {"subtest": {"GL_COMPRESSED_RGBA_S3TC_DXT5_EXT NPOT" : "fail"}}
PIGLIT: {"result": "fail" }

When Mesa is compiled with -O2, the tests pass.

You would expect optimizations to *break* tests, not fix them.  ¯\_(ツ)_/¯
Comment 1 Roland Scheidegger 2018-03-22 23:38:49 UTC
Not sure if this is intel specific or not, but either way I don't feel responsible for this bug.
Comment 2 Mark Janes 2018-03-23 19:10:58 UTC
Agreed.  I was hoping it was weird enough to pique your interest.
Comment 3 Nanley Chery 2018-06-20 19:29:37 UTC
Is this still an issue? I'm not able to reproduce this on my SKL.
Comment 4 Mark Janes 2018-06-26 00:48:40 UTC
I can't repro this anymore either.


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.