mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-26 07:00:31 +01:00
agx: Assume lower_fragcolor has been called
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10720>
This commit is contained in:
parent
1164c992cf
commit
41d8db33a2
1 changed files with 2 additions and 3 deletions
|
|
@ -168,9 +168,8 @@ agx_emit_fragment_out(agx_builder *b, nir_intrinsic_instr *instr)
|
|||
|
||||
unsigned loc = var->data.location;
|
||||
assert(var->data.index == 0 && "todo: dual-source blending");
|
||||
assert((loc == FRAG_RESULT_COLOR || loc == FRAG_RESULT_DATA0) && "todo: MRT");
|
||||
unsigned rt = (loc == FRAG_RESULT_COLOR) ? 0 :
|
||||
(loc - FRAG_RESULT_DATA0);
|
||||
assert(loc == FRAG_RESULT_DATA0 && "todo: MRT");
|
||||
unsigned rt = (loc - FRAG_RESULT_DATA0);
|
||||
|
||||
/* TODO: Reverse-engineer interactions with MRT */
|
||||
agx_writeout(b, 0xC200);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue