Danylo Piliaiev
bc4a127d6e
intel/disasm: Label support in shader disassembly for UIP/JIP
...
Shader instructions which use UIP/JIP now get formatted with a label
in addition with immediate value, labels have "LABEL%d" format.
v2: - Consider brw_jump_scale when calculating label's offset
From: "Lonnberg, Toni" <toni.lonnberg@intel.com >
Signed-off-by: Danylo Piliaiev <danylo.piliaiev@globallogic.com >
Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com >
Reviewed-by: Matt Turner <mattst88@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4245 >
2020-09-02 10:33:29 +00:00
Mark Janes
eda36feb2b
intel/tools: Remove redundant definitions of INTEL_DEBUG
...
INTEL_DEBUG is declared extern and defined in gen_debug.c
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org >
2019-04-10 13:15:33 -07:00
Kenneth Graunke
9b34742495
intel: Make the disassembler take a const pointer to the assembly.
...
Disassembling doesn't modify the assembly.
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
2018-07-24 11:04:56 -07:00
Kenneth Graunke
7c22c150c4
intel: Move batch decoder/disassembler from tools/ to common/
...
Making these part of libintel_common allows us to use them in the DRI
driver. The standalone tool binaries already link against the common
library, too, so it's no harder for them.
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
2018-05-02 09:27:56 -07:00