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:

committed by
Marge Bot

parent
52f6978484
commit
1e3e7b3a4d
@@ -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++)
|
||||
|
Reference in New Issue
Block a user