anv: reuse define for number of render target assert
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Tapani Pälli <tapani.palli@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10206>
This commit is contained in:
committed by
Marge Bot
parent
b15bfe92f7
commit
74685c8136
@@ -1191,7 +1191,7 @@ emit_cb_state(struct anv_graphics_pipeline *pipeline,
|
||||
break;
|
||||
|
||||
/* We can have at most 8 attachments */
|
||||
assert(i < 8);
|
||||
assert(i < MAX_RTS);
|
||||
|
||||
if (info == NULL || binding->index >= info->attachmentCount) {
|
||||
state_pos = write_disabled_blend(state_pos);
|
||||
|
||||
Reference in New Issue
Block a user