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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user