mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
freedreno/ir3: small standalone compiler cleanup
Don't hard-code the gpu-id anymore. Signed-off-by: Rob Clark <robclark@freedesktop.org>
This commit is contained in:
parent
f06343d6ea
commit
277818ecfb
1 changed files with 1 additions and 2 deletions
|
|
@ -48,8 +48,7 @@ static void dump_info(struct ir3_shader_variant *so, const char *str)
|
|||
{
|
||||
uint32_t *bin;
|
||||
const char *type = ir3_shader_stage(so->shader);
|
||||
// TODO make gpu_id configurable on cmdline
|
||||
bin = ir3_shader_assemble(so, 320);
|
||||
bin = ir3_shader_assemble(so, so->shader->compiler->gpu_id);
|
||||
debug_printf("; %s: %s\n", type, str);
|
||||
ir3_shader_disasm(so, bin);
|
||||
free(bin);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue