mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-27 02:20:38 +02:00
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:
parent
b15bfe92f7
commit
74685c8136
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue