Bug 111515 - Mesa does not support row_major qualifier correctly
Summary: Mesa does not support row_major qualifier correctly
Status: RESOLVED WORKSFORME
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: 19.0
Hardware: x86-64 (AMD64) Linux (All)
: not set not set
Assignee: Intel 3D Bugs Mailing List
QA Contact: Intel 3D Bugs Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-29 10:21 UTC by xinghua
Modified: 2019-09-13 08:14 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
test_case (5.26 KB, text/x-csrc)
2019-08-29 10:21 UTC, xinghua
Details

Description xinghua 2019-08-29 10:21:10 UTC
ANGLE project had reported a bug about mesa on Intel GPU, https://bugs.chromium.org/p/angleproject/issues/detail?id=3837.

This bug was about GLSL row_major qualifier did not work correctly. I had re-written a simple case(attached file), and could reproduce this bug.

Steps, run below commands in terminal:
1. gcc -o row_major row_major.c -lX11 -lepoxy
2. ./row_major
Comment 1 xinghua 2019-08-29 10:21:34 UTC
Created attachment 145200 [details]
test_case
Comment 2 Denis 2019-08-29 11:29:14 UTC
Hi xinghua, looks like this test was fixed on latest master:


OpenGL ES profile version string: OpenGL ES 3.2 Mesa 19.3.0-devel (git-e64091ebd4)
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

[den@den-pc Downloads]$ ./row_major
0 255 0 255
Case passed.

Also it passes in my system mesa version (19.1.4). 
Earliest mesa version with failure (I have couple of them built earlier) - Mesa 19.0.3 (git-c8cdee5dc3)
Comment 3 Denis 2019-09-04 11:48:18 UTC
is there any reason to keep it opened or find the commit with a fix? (for backports maybe?). 

As I see, @xinghua commented in original (chromium) ticket that on master he also couldn't reproduce the problem
Comment 4 Denis 2019-09-13 08:14:33 UTC
please reopen if you need the commit with a fix to be found. Closing for now


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.