From 93e62898ccb752cf8e2040044f6a3700e7d1c812 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Tue, 21 Mar 2017 06:10:15 +1000 Subject: [PATCH] radv: drop illegal DB format error. We'll get this if we have a stencil only setup. Signed-off-by: Dave Airlie --- src/amd/vulkan/radv_device.c | 3 --- 1 file changed, 3 deletions(-) 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; -- 2.30.2