Summary: | Mesa fails to link GLSL programs with unused output blocks | ||
---|---|---|---|
Product: | Mesa | Reporter: | Józef Kucia <joseph.kucia> |
Component: | glsl-compiler | Assignee: | mesa-dev |
Status: | RESOLVED FIXED | QA Contact: | Intel 3D Bugs Mailing List <intel-3d-bugs> |
Severity: | normal | ||
Priority: | medium | ||
Version: | git | ||
Hardware: | All | ||
OS: | All | ||
See Also: | https://bugs.winehq.org/show_bug.cgi?id=43057 | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Józef Kucia
2017-05-31 11:42:16 UTC
Thanks for reporting this. I saw your piglit test yesterday. It's a bug yes. Patch merged to master: commit 4a8444d5bc865119218eca8674e5614535f4829e (HEAD -> new_master, origin/master, origin/HEAD) Author: vadym.shovkoplias <vadim.shovkoplias@gmail.com> Date: Thu Aug 23 13:12:16 2018 +0300 glsl/linker: Allow unused in blocks which are not declated on previous stage >From Section 4.3.4 (Inputs) of the GLSL 1.50 spec: "Only the input variables that are actually read need to be written by the previous stage; it is allowed to have superfluous declarations of input variables." Fixes: * interstage-multiple-shader-objects.shader_test v2: Update comment in ir.h since the usage of "used" field has been extended. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101247 Signed-off-by: Vadym Shovkoplias <vadym.shovkoplias@globallogic.com> Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com> |
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.