From: Dave Airlie Date: Mon, 20 Mar 2017 20:10:15 +0000 (+1000) Subject: radv: drop illegal DB format error. X-Git-Tag: upstream/17.1.0~1177 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=93e62898ccb752cf8e2040044f6a3700e7d1c812;p=platform%2Fupstream%2Fmesa.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 106f706..ae54ac5 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;