mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 07:08:04 +02:00
pan/bi: Port bi_collect_blend_ret_addr() to the new compiler infra
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8417>
This commit is contained in:
parent
424c22fc32
commit
de0fa4de5f
1 changed files with 5 additions and 6 deletions
|
|
@ -699,13 +699,12 @@ bi_collect_blend_ret_addr(bi_context *ctx, struct util_dynarray *emission,
|
||||||
*/
|
*/
|
||||||
assert(0);
|
assert(0);
|
||||||
|
|
||||||
#if 0
|
unsigned loc = bundle->regs.fau_idx - BIR_FAU_BLEND_0;
|
||||||
assert(ins->blend_location < ARRAY_SIZE(ctx->blend_ret_offsets));
|
assert(loc < ARRAY_SIZE(ctx->blend_ret_offsets));
|
||||||
assert(!ctx->blend_ret_offsets[ins->blend_location]);
|
assert(!ctx->blend_ret_offsets[loc]);
|
||||||
ctx->blend_ret_offsets[ins->blend_location] =
|
ctx->blend_ret_offsets[loc] =
|
||||||
util_dynarray_num_elements(emission, uint8_t);
|
util_dynarray_num_elements(emission, uint8_t);
|
||||||
assert(!(ctx->blend_ret_offsets[ins->blend_location] & 0x7));
|
assert(!(ctx->blend_ret_offsets[loc] & 0x7));
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue