mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 23:20:08 +01:00
nv50: Rename fixups to relocs
This matches the names used on nvc0. Reviewed-by: Karol Herbst <kherbst@redhat.com> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu> Signed-off-by: Pierre Moreau <dev@pmoreau.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10711>
This commit is contained in:
parent
8c066e7a57
commit
120c43cf46
2 changed files with 5 additions and 5 deletions
|
|
@ -402,7 +402,7 @@ nv50_program_translate(struct nv50_program *prog, uint16_t chipset,
|
|||
|
||||
prog->code = info_out.bin.code;
|
||||
prog->code_size = info_out.bin.codeSize;
|
||||
prog->fixups = info_out.bin.relocData;
|
||||
prog->relocs = info_out.bin.relocData;
|
||||
prog->interps = info_out.bin.fixupData;
|
||||
prog->max_gpr = MAX2(4, (info_out.bin.maxGPR >> 1) + 1);
|
||||
prog->tls_space = info_out.bin.tlsSpace;
|
||||
|
|
@ -520,8 +520,8 @@ nv50_program_upload_code(struct nv50_context *nv50, struct nv50_program *prog)
|
|||
if (ret > 0)
|
||||
nv50->state.new_tls_space = true;
|
||||
|
||||
if (prog->fixups)
|
||||
nv50_ir_relocate_code(prog->fixups, prog->code, prog->code_base, 0, 0);
|
||||
if (prog->relocs)
|
||||
nv50_ir_relocate_code(prog->relocs, prog->code, prog->code_base, 0, 0);
|
||||
if (prog->interps)
|
||||
nv50_ir_apply_fixups(prog->interps, prog->code,
|
||||
prog->fp.force_persample_interp,
|
||||
|
|
@ -550,7 +550,7 @@ nv50_program_destroy(struct nv50_context *nv50, struct nv50_program *p)
|
|||
|
||||
FREE(p->code);
|
||||
|
||||
FREE(p->fixups);
|
||||
FREE(p->relocs);
|
||||
FREE(p->interps);
|
||||
FREE(p->so);
|
||||
|
||||
|
|
|
|||
|
|
@ -114,7 +114,7 @@ struct nv50_program {
|
|||
|
||||
bool mul_zero_wins;
|
||||
|
||||
void *fixups; /* relocation records */
|
||||
void *relocs; /* relocation records */
|
||||
void *interps; /* interpolation records */
|
||||
|
||||
struct nouveau_heap *mem;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue