Bug 88221 - [SNB+ Bisected]Piglit spec_ARB_texture_storage_multisample_tex-param fails
Summary: [SNB+ Bisected]Piglit spec_ARB_texture_storage_multisample_tex-param fails
Status: VERIFIED FIXED
Alias: None
Product: piglit
Classification: Unclassified
Component: tests (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: high normal
Assignee: Piglit Mailing List
QA Contact: Piglit Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-09 06:56 UTC by lu hua
Modified: 2015-01-26 21:51 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description lu hua 2015-01-09 06:56:11 UTC
==System Environment==
--------------------------
Piglit: 866ac19995e7a004a12ce746395e1f2165fe21bc

==Bug detailed description==
--------------------------
It fails on SNB+ platforms with latest Piglit.
Bisect shows:  35a47ae936901e49c6401e2d4f0801f260e2883c is the first bad commit.
commit 35a47ae936901e49c6401e2d4f0801f260e2883c
Author:     Laura Ekstrand <laura@jlekstrand.net>
AuthorDate: Fri Dec 12 12:47:02 2014 -0800
Commit:     Laura Ekstrand <laura@jlekstrand.net>
CommitDate: Wed Jan 7 17:07:41 2015 -0800

    arb_texture_storage_multisample: Updated error conditions to match the OpenGL 4.5 and ES 3.1 core specs.


output:
libGL: screen 0 does not appear to be DRI3 capable
libGL: pci id for fd 4: 8086:0412, driver i965
libGL: OpenDriver: trying /opt/X11R7/lib/dri/tls/i965_dri.so
libGL: OpenDriver: trying /opt/X11R7/lib/dri/i965_dri.so
libGL: Error in /etc/drirc line 1, column 0: no element found.
libGL: Error in /root/.drirc line 1, column 0: no element found.
libGL: Error in /etc/drirc line 1, column 0: no element found.
libGL: Error in /root/.drirc line 1, column 0: no element found.
PIGLIT: {"subtest": {"GL_TEXTURE_IMMUTABLE_FORMAT" : "pass"}}
Unexpected GL error: GL_INVALID_OPERATION 0x502
(Error at /GFX/Test/Piglit/piglit/tests/spec/arb_texture_storage_multisample/tex-param.c:113)
Expected GL error: GL_INVALID_ENUM 0x500
error setting parameter GL_TEXTURE_MAG_FILTER
PIGLIT: {"subtest": {"GL_TEXTURE_MAG_FILTER" : "fail"}}
Unexpected GL error: GL_INVALID_OPERATION 0x502
(Error at /GFX/Test/Piglit/piglit/tests/spec/arb_texture_storage_multisample/tex-param.c:113)
Expected GL error: GL_INVALID_ENUM 0x500
error setting parameter GL_TEXTURE_MIN_FILTER
PIGLIT: {"subtest": {"GL_TEXTURE_MIN_FILTER" : "fail"}}
Unexpected GL error: GL_INVALID_OPERATION 0x502
(Error at /GFX/Test/Piglit/piglit/tests/spec/arb_texture_storage_multisample/tex-param.c:113)
Expected GL error: GL_INVALID_ENUM 0x500
error setting parameter GL_TEXTURE_WRAP_S
PIGLIT: {"subtest": {"GL_TEXTURE_WRAP_S" : "fail"}}
Unexpected GL error: GL_INVALID_OPERATION 0x502
(Error at /GFX/Test/Piglit/piglit/tests/spec/arb_texture_storage_multisample/tex-param.c:113)
Expected GL error: GL_INVALID_ENUM 0x500
error setting parameter GL_TEXTURE_WRAP_T
PIGLIT: {"subtest": {"GL_TEXTURE_WRAP_T" : "fail"}}
Unexpected GL error: GL_INVALID_OPERATION 0x502
(Error at /GFX/Test/Piglit/piglit/tests/spec/arb_texture_storage_multisample/tex-param.c:113)
Expected GL error: GL_INVALID_ENUM 0x500
error setting parameter GL_TEXTURE_WRAP_R
PIGLIT: {"subtest": {"GL_TEXTURE_WRAP_R" : "fail"}}
Unexpected GL error: GL_INVALID_OPERATION 0x502
(Error at /GFX/Test/Piglit/piglit/tests/spec/arb_texture_storage_multisample/tex-param.c:113)
Expected GL error: GL_INVALID_ENUM 0x500
error setting parameter GL_TEXTURE_COMPARE_MODE
PIGLIT: {"subtest": {"GL_TEXTURE_COMPARE_MODE" : "fail"}}
Unexpected GL error: GL_INVALID_OPERATION 0x502
(Error at /GFX/Test/Piglit/piglit/tests/spec/arb_texture_storage_multisample/tex-param.c:113)
Expected GL error: GL_INVALID_ENUM 0x500
error setting parameter GL_TEXTURE_COMPARE_FUNC
PIGLIT: {"subtest": {"GL_TEXTURE_COMPARE_FUNC" : "fail"}}
Unexpected GL error: GL_INVALID_OPERATION 0x502
(Error at /GFX/Test/Piglit/piglit/tests/spec/arb_texture_storage_multisample/tex-param.c:113)
Expected GL error: GL_INVALID_ENUM 0x500
error setting parameter GL_TEXTURE_MIN_LOD
PIGLIT: {"subtest": {"GL_TEXTURE_MIN_LOD" : "fail"}}
Unexpected GL error: GL_INVALID_OPERATION 0x502
(Error at /GFX/Test/Piglit/piglit/tests/spec/arb_texture_storage_multisample/tex-param.c:113)
Expected GL error: GL_INVALID_ENUM 0x500
error setting parameter GL_TEXTURE_MAX_LOD
PIGLIT: {"subtest": {"GL_TEXTURE_MAX_LOD" : "fail"}}
PIGLIT: {"subtest": {"GL_TEXTURE_BASE_LEVEL zero" : "pass"}}
PIGLIT: {"subtest": {"GL_TEXTURE_BASE_LEVEL nonzero" : "pass"}}
PIGLIT: {"result": "fail" }


==Reproduce steps==
---------------------------- 
1. ./bin/arb_texture_storage_multisample-tex-param -auto -fbo
Comment 1 Laura Ekstrand 2015-01-09 19:25:36 UTC
This bug is fixed by the series I pushed to Mesa yesterday: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f4dce7a6a69de30ab7aad7612f93302c69421fea
Comment 2 lu hua 2015-01-13 06:55:34 UTC
Verified.Fixed on mesa master branch.
output:
libGL: OpenDriver: trying /opt/X11R7/lib/dri/tls/i965_dri.so
libGL: OpenDriver: trying /opt/X11R7/lib/dri/i965_dri.so
libGL: Error in /etc/drirc line 1, column 0: no element found.
libGL: Error in /root/.drirc line 1, column 0: no element found.
libGL: Error in /etc/drirc line 1, column 0: no element found.
libGL: Error in /root/.drirc line 1, column 0: no element found.
PIGLIT: {"subtest": {"GL_TEXTURE_IMMUTABLE_FORMAT" : "pass"}}
PIGLIT: {"subtest": {"GL_TEXTURE_MAG_FILTER" : "pass"}}
PIGLIT: {"subtest": {"GL_TEXTURE_MIN_FILTER" : "pass"}}
PIGLIT: {"subtest": {"GL_TEXTURE_WRAP_S" : "pass"}}
PIGLIT: {"subtest": {"GL_TEXTURE_WRAP_T" : "pass"}}
PIGLIT: {"subtest": {"GL_TEXTURE_WRAP_R" : "pass"}}
PIGLIT: {"subtest": {"GL_TEXTURE_COMPARE_MODE" : "pass"}}
PIGLIT: {"subtest": {"GL_TEXTURE_COMPARE_FUNC" : "pass"}}
PIGLIT: {"subtest": {"GL_TEXTURE_MIN_LOD" : "pass"}}
PIGLIT: {"subtest": {"GL_TEXTURE_MAX_LOD" : "pass"}}
PIGLIT: {"subtest": {"GL_TEXTURE_BASE_LEVEL zero" : "pass"}}
PIGLIT: {"subtest": {"GL_TEXTURE_BASE_LEVEL nonzero" : "pass"}}
PIGLIT: {"result": "pass" }
Comment 3 Ian Romanick 2015-01-26 21:51:12 UTC
In the future, if you know a test change will cause the test to fail, note that in the commit message.  By doing this, QA won't spend time (yours and theirs) submitting a bug report.  Commit 8797b318 is an example.


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.