From: Dave Airlie Date: Mon, 20 Mar 2017 20:10:15 +0000 (+1000) Subject: radv: drop illegal DB format error. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=93e62898ccb752cf8e2040044f6a3700e7d1c812;p=mesa.git radv: drop illegal DB format error. We'll get this if we have a stencil only setup. Signed-off-by: Dave Airlie --- diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 106f7064d43..ae54ac563d6 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -2418,9 +2418,6 @@ radv_initialise_ds_surface(struct radv_device *device, } format = radv_translate_dbformat(iview->vk_format); - if (format == V_028040_Z_INVALID) { - fprintf(stderr, "Invalid DB format: %d, disabling DB.\n", iview->vk_format); - } va = device->ws->buffer_get_va(iview->bo) + iview->image->offset; s_offs = z_offs = va;