mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 20:28:04 +02:00
anv: Make the framebuffer-renderpass format assert non-fatal
This should let Dota 2 run on debug builds though it will spew errors like mad. Hopefully, Valve will get this fixed sooner rather than later. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
This commit is contained in:
parent
33301d949f
commit
0421813588
1 changed files with 1 additions and 1 deletions
|
|
@ -504,7 +504,7 @@ genX(cmd_buffer_setup_attachments)(struct anv_cmd_buffer *cmd_buffer,
|
|||
state->attachments[i].clear_value = begin->pClearValues[i];
|
||||
|
||||
struct anv_image_view *iview = framebuffer->attachments[i];
|
||||
assert(iview->vk_format == att->format);
|
||||
anv_assert(iview->vk_format == att->format);
|
||||
|
||||
union isl_color_value clear_color = { .u32 = { 0, } };
|
||||
if (att_aspects == VK_IMAGE_ASPECT_COLOR_BIT) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue