mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +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> (cherry picked from commit1e3e7b3a4d)
This commit is contained in:
parent
9d3d5b5c46
commit
d3157618ef
2 changed files with 2 additions and 2 deletions
|
|
@ -328,7 +328,7 @@
|
|||
"description": "anv: fix CmdSetColorWriteEnableEXT for maximum rts",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "b15bfe92f7f87e270160a9221a1394fc7b5de5d2"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1585,7 +1585,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