mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 23:50:11 +01:00
iris: Use gen_disassemble
This one doesn't require the program size and so it won't mess up if we have a bunch of constant data at the end. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6244>
This commit is contained in:
parent
372774367c
commit
bc2c5f9a4b
1 changed files with 2 additions and 2 deletions
|
|
@ -38,6 +38,7 @@
|
|||
#include "util/u_upload_mgr.h"
|
||||
#include "compiler/nir/nir.h"
|
||||
#include "compiler/nir/nir_builder.h"
|
||||
#include "intel/common/gen_disasm.h"
|
||||
#include "intel/compiler/brw_compiler.h"
|
||||
#include "intel/compiler/brw_eu.h"
|
||||
#include "intel/compiler/brw_nir.h"
|
||||
|
|
@ -365,7 +366,6 @@ iris_print_program_cache(struct iris_context *ice)
|
|||
const struct keybox *keybox = entry->key;
|
||||
struct iris_compiled_shader *shader = entry->data;
|
||||
fprintf(stderr, "%s:\n", cache_name(keybox->cache_id));
|
||||
brw_disassemble_with_labels(devinfo, shader->map, 0,
|
||||
shader->prog_data->program_size, stderr);
|
||||
gen_disassemble(devinfo, shader->map, 0, stderr);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue