[Mesa-dev] [Bug 106283] Shader replacements works only for limited use cases

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Apr 28 06:28:26 UTC 2018


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

--- Comment #2 from Tapani Pälli <lemody at gmail.com> ---
One source of confusion here might be that there exists 2 shader dumping paths
in Mesa, created for different purposes.

Shader replacement is done with MESA_SHADER_DUMP_PATH and
MESA_SHADER_READ_PATH, this can be used to analyze performance, debug shaders
and so on. Then there is MESA_SHADER_CAPTURE_PATH which is used to capture
shaders in a special form that can be used with 'shader-db' tool. This supports
ARB programs but cannot be used together with MESA_SHADER_DUMP_PATH and
MESA_SHADER_READ_PATH, these are separate things and used for different
purposes.

Hopefully this helps!

-- 
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/20180428/0a5f45d5/attachment.html>


More information about the mesa-dev mailing list