intel/brw: support for dumping shader line numbers
Add support for dumping shader asm containing instruction line numbers matching offsets within instruction state pool buffer. Offsets should match values collected from eu stall sampling. This is required for match eu stall data with individual shader instructions. Reviewed-by: José Roberto de Souza <jose.souza@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30142>
This commit is contained in:
@@ -20,7 +20,7 @@ ctx_disassemble_program_brw(struct intel_batch_decode_ctx *ctx,
|
||||
return;
|
||||
|
||||
fprintf(ctx->fp, "\nReferenced %s:\n", name);
|
||||
brw_disassemble_with_errors(ctx->brw, bo.map, 0, ctx->fp);
|
||||
brw_disassemble_with_errors(ctx->brw, bo.map, 0, NULL, ctx->fp);
|
||||
|
||||
if (ctx->shader_binary) {
|
||||
int size = brw_disassemble_find_end(ctx->brw, bo.map, 0);
|
||||
|
||||
Reference in New Issue
Block a user