[Mesa-dev] [Bug 106996] Compiler diagnostic for sampler declared as "out" parameter of function is terrible

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Sep 19 15:22:58 UTC 2018


Ian Romanick <idr at freedesktop.org> changed:

           What    |Removed                     |Added
            Summary|Compute shader compiling    |Compiler diagnostic for
                   |fails for invalid input     |sampler declared as "out"
                   |layout qualifier used       |parameter of function is
                   |                            |terrible

--- Comment #2 from Ian Romanick <idr at freedesktop.org> ---
The problem is dst is marked as an "out" parameter of the function.  sampler
variables cannot be assigned, so it's impossible for it to be an out parameter.
 Deleting "out" allows the shader to compile.

Sadly, the compiler error message is useless for debugging that problem.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180919/6ddeac61/attachment.html>

More information about the mesa-dev mailing list