Bug 101613 - [m32] piglit.spec.arb_shader_bit_encoding.execution.and-clamp
Summary: [m32] piglit.spec.arb_shader_bit_encoding.execution.and-clamp
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Timothy Arceri
QA Contact: Intel 3D Bugs Mailing List
URL: https://gcc.gnu.org/bugzilla/show_bug...
Depends on:
Reported: 2017-06-27 17:44 UTC by Mark Janes
Modified: 2019-09-25 19:03 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Description Mark Janes 2017-06-27 17:44:40 UTC
Bisected to:
Author:     Timothy Arceri <tarceri@itsqueeze.com>
mesa: add KHR_no_error support for gl{Compressed}TexImage*D()

Affects SNB and later:
/tmp/build_root/m32/lib/piglit/bin/shader_runner /tmp/build_root/m32/lib/piglit/tests/spec/arb_shader_bit_encoding/execution/and-clamp.shader_test -auto -fbo
Probe color at (2,2)
  Expected: 0.000000 0.250000 0.500000 -1553197254024903250500691171475456.000000
  Observed: 0.000000 0.250980 0.501961 0.000000
Test failure on line 43

Mesa CI tests 64bit builds by default.  32bit binaries are checked on a daily basis, so this test failure could not be caught earlier.
Comment 1 Timothy Arceri 2017-06-27 22:25:01 UTC
(In reply to Mark Janes from comment #0)
> Bisected to:
> bc0af44a5ae9a6671cc6c2f5a380d86fd7babacb

Is the failure intermittent? I suspect the bisect may have come to the wrong conclusion. That commit just adds KHR_no_error paths so there should be no way for it to case any regressions.
Comment 2 Mark Janes 2017-06-28 00:30:00 UTC
The bug is not intermittent for my system.
Comment 3 Timothy Arceri 2017-06-28 02:24:08 UTC
Ok I was able to reproduce this.

It seems like some kind of gcc bug. If I remove the ALWAYS_INLINE from teximage() then the test passes.
Comment 4 Timothy Arceri 2017-06-28 03:06:41 UTC
(In reply to Timothy Arceri from comment #3)
> Ok I was able to reproduce this.
> It seems like some kind of gcc bug. If I remove the ALWAYS_INLINE from
> teximage() then the test passes.

I should add that I reproduced the issue with gcc 6.3.1 and Mark confirmed it was still present when using gcc 7.1
Comment 5 Timothy Arceri 2017-06-29 00:01:07 UTC
I've created a gcc bug report and added the url here.
Comment 6 GitLab Migration User 2019-09-25 19:03:07 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/1608.

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.