radv: drop illegal DB format error.
authorDave Airlie <airlied@redhat.com>
Mon, 20 Mar 2017 20:10:15 +0000 (06:10 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 21 Mar 2017 00:05:49 +0000 (10:05 +1000)
We'll get this if we have a stencil only setup.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_device.c

index 106f7064d438e974c7d83905b49d2d4b70e82751..ae54ac563d6ca08e4593ff9913c1df7ca1722141 100644 (file)
@@ -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;