mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 03:08:05 +02:00
anv: fix CmdSetColorWriteEnableEXT for maximum rts
Fixes: b15bfe92f7 ("anv: implement VK_EXT_color_write_enable")
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15280>
This commit is contained in:
parent
52f6978484
commit
1e3e7b3a4d
1 changed files with 1 additions and 1 deletions
|
|
@ -1647,7 +1647,7 @@ void anv_CmdSetColorWriteEnableEXT(
|
|||
{
|
||||
ANV_FROM_HANDLE(anv_cmd_buffer, cmd_buffer, commandBuffer);
|
||||
|
||||
assert(attachmentCount < MAX_RTS);
|
||||
assert(attachmentCount <= MAX_RTS);
|
||||
|
||||
uint8_t color_writes = 0;
|
||||
for (uint32_t i = 0; i < attachmentCount; i++)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue