Commit 3483b4e2 authored by Alyssa Rosenzweig's avatar Alyssa Rosenzweig 💜 Committed by Marge Bot
Browse files

pan/bi: Rename bi_load



Need to free up the symbol so it doesn't clash with the builder.
Signed-off-by: Alyssa Rosenzweig's avatarAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <mesa/mesa!8135>
parent 45ab728b
...@@ -81,7 +81,7 @@ emit_jump(bi_context *ctx, nir_jump_instr *instr) ...@@ -81,7 +81,7 @@ emit_jump(bi_context *ctx, nir_jump_instr *instr)
} }
static bi_instruction static bi_instruction
bi_load(enum bi_class T, nir_intrinsic_instr *instr, unsigned offset_idx) bi_load_old(enum bi_class T, nir_intrinsic_instr *instr, unsigned offset_idx)
{ {
bi_instruction load = { bi_instruction load = {
.type = T, .type = T,
...@@ -403,7 +403,7 @@ bi_emit_frag_out(bi_context *ctx, nir_intrinsic_instr *instr) ...@@ -403,7 +403,7 @@ bi_emit_frag_out(bi_context *ctx, nir_intrinsic_instr *instr)
static bi_instruction static bi_instruction
bi_load_with_r61(enum bi_class T, nir_intrinsic_instr *instr) bi_load_with_r61(enum bi_class T, nir_intrinsic_instr *instr)
{ {
bi_instruction ld = bi_load(T, instr, 2); bi_instruction ld = bi_load_old(T, instr, 2);
ld.src[0] = BIR_INDEX_REGISTER | 61; /* TODO: RA */ ld.src[0] = BIR_INDEX_REGISTER | 61; /* TODO: RA */
ld.src[1] = BIR_INDEX_REGISTER | 62; ld.src[1] = BIR_INDEX_REGISTER | 62;
ld.src_types[0] = nir_type_uint32; ld.src_types[0] = nir_type_uint32;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment