Summary: | GLSL: struct declarations produce a "empty declaration warning" in 9.2 | ||
---|---|---|---|
Product: | Mesa | Reporter: | Aras Pranckevicius <aras> |
Component: | glsl-compiler | Assignee: | Ian Romanick <idr> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | 9.2 | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Aras Pranckevicius
2013-09-02 09:38:07 UTC
Yeah, I noticed that too. :( It should be any easy fix. I try to get a patch out this week. Fix by the following commit. This will get cherry picked to the 10.0.1 release. commit 758658850bd5ba64bf2e8c04516ea1292aedcfc3 Author: Ian Romanick <ian.d.romanick@intel.com> Date: Wed Nov 27 11:22:27 2013 -0800 glsl: Don't emit empty declaration warning for a struct specifier The intention is that things like int; will generate a warning. However, we were also accidentally emitting the same warning for things like struct Foo { int x; }; Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=68838 Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Cc: Aras Pranckevicius <aras@unity3d.com> Cc: "9.2 10.0" <mesa-stable@lists.freedesktop.org> |
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.