[Bug 105820] [m32] piglit regressions relinking program without shaders

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Apr 4 05:07:09 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=105820

Mark Janes <mark.a.janes at intel.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #8 from Mark Janes <mark.a.janes at intel.com> ---
fixed by
6f6e711c721eba8dad1541479e31d5db5108b41d
Author:     Dylan Baker <dylan at pnwbakers.com>
AuthorDate: Mon Apr 2 15:29:45 2018 -0700
Commit:     Dylan Baker <dylan at pnwbakers.com>
CommitDate: Tue Apr 3 08:47:59 2018 -0700

Parent:     d3e96b10630 radeonsi/gfx9: fix bad LLVM params in monolithic LS+HS
Containing: master
Follows:    17.3-branchpoint (4386)

mesa: ensure that variable is initialized

This variable controls whether we link using the glsl code path or the
spirv path. It's set when we validate that all shaders are glsl or
spirv, but if there are no shaders attached to the program it will
remain unset, resulting in undefined behavior. We want to go down the
glsl path in that case, so initialize to false.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105820
Fixes: 16f6634e7fb5ada308e55b852cd49251e7f3f8b1
       ("mesa/program: Link SPIR-V shaders using the SPIR-V code-path")
Signed-off-by: Dylan Baker <dylan.c.baker at intel.com>
Tested-by: Mark Janes <mark.a.janes at intel.com>
Reviewed-by: Alejandro PiƱeiro <apinheiro at igalia.com>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20180404/3d36fc97/attachment.html>


More information about the intel-3d-bugs mailing list