[Bug 83934] New: Structures must have same name to be considered same type.
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Sep 16 08:54:47 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=83934
Priority: medium
Bug ID: 83934
Assignee: idr at freedesktop.org
Summary: Structures must have same name to be considered same
type.
QA Contact: intel-3d-bugs at lists.freedesktop.org
Severity: normal
Classification: Unclassified
OS: All
Reporter: kondapallykalyancontribute at gmail.com
Hardware: Other
Status: NEW
Version: 10.2
Component: glsl-compiler
Product: Mesa
Created attachment 106375
--> https://bugs.freedesktop.org/attachment.cgi?id=106375&action=edit
Fix
According to GLSL(4.2) and GLSL-ES (1.0, 3.0) spec, Structures must
have the same name to be considered same type.
>From GLSL 4.20 specification: (Sec 4.2)
"Structures must have the same name, sequence of type
names, and type definitions, and field names to be
considered the same type. "
GLSL-ES is also same(Ver 1.00 Sec 4.2.4, Ver 3.00 Sec 4.2.5).
We currently ignore the name while checking if two records are same.
The following WebGL conformance tests fail when running Chromium Web Browser
with Wayland(https://github.com/01org/ozone-wayland)
Test case:
https://www.khronos.org/registry/webgl/sdk/tests/conformance/glsl/misc/shaders-with-uniform-structs.html
Attached is patch which fixes this.
--
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20140916/e38c9d23/attachment.html>
More information about the intel-3d-bugs
mailing list