mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 21:00:16 +01:00
pan/bi: Allow non-terminal BLEND operations
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
4439757db2
commit
e012161aee
1 changed files with 0 additions and 6 deletions
|
|
@ -692,12 +692,6 @@ bi_collect_blend_ret_addr(bi_context *ctx, struct util_dynarray *emission,
|
|||
if (!ins || ins->op != BI_OPCODE_BLEND)
|
||||
return;
|
||||
|
||||
/* We don't support non-terminal blend instructions yet.
|
||||
* That would requires fixing blend shaders to restore the registers
|
||||
* they use before jumping back to the fragment shader, which is
|
||||
* currently not supported.
|
||||
*/
|
||||
assert(0);
|
||||
|
||||
unsigned loc = bundle->regs.fau_idx - BIR_FAU_BLEND_0;
|
||||
assert(loc < ARRAY_SIZE(ctx->blend_ret_offsets));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue