intel/compiler: Add variable to dump binaries of all compiled shaders
This can be useful for testing i965_disasm and i965_asm by comparing bin -> asm -> bin results. Signed-off-by: Sviatoslav Peleshko <sviatoslav.peleshko@globallogic.com> Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25657>
This commit is contained in:
parent
54e2e44f99
commit
4f41c44df2
5 changed files with 81 additions and 6 deletions
|
|
@ -753,6 +753,19 @@ Intel driver environment variables
|
|||
overrode shader with sha1 <SHA-1>" in stderr replacing the original
|
||||
assembly.
|
||||
|
||||
.. envvar:: INTEL_SHADER_BIN_DUMP_PATH
|
||||
|
||||
if set, determines the directory to which the compiled shaders will be
|
||||
dumped. They will be dumped as ``sha1_of_assembly.bin``, where the sha1
|
||||
values will be the same as can be found in the :envvar:`INTEL_DEBUG`
|
||||
output, and can be used for :envvar:`INTEL_SHADER_ASM_READ_PATH` input.
|
||||
|
||||
.. note::
|
||||
Unlike the text form of shader dumping, :envvar:`INTEL_DEBUG`
|
||||
does not affect on the list of shaders to dump. All generated shaders
|
||||
are always dumped if :envvar:`INTEL_SHADER_BIN_DUMP_PATH` variable is
|
||||
set.
|
||||
|
||||
.. envvar:: INTEL_SIMD_DEBUG
|
||||
|
||||
a comma-separated list of named flags, which control simd dispatch widths:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue