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

--- Comment #12 from Timur Kristóf <ven...@msn.com> ---
Jan, the commit you linked adds a dependency from the gallium auxiliary lib to
the glsl compiler. This is required by tgsi_to_nir for calling
gl_nir_lower_samplers and gl_nir_lower_samplers_as_deref, otherwise tgsi_to_nir
cannot produce NIR that works on either radeonsi or iris.

I realize this may be unfortunate, but the good thing is that (as far as I see)
mesa is linked with --gc-sections which means that the linker will remove the
unnecessary code from all binaries where it is not actually used.

Ideally though, only the drivers (and state trackers) that actually call
tgsi_to_nir should need the dependency. If you have a suggestion on how to
better organize the code to avoid this problem, please let me know.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to