aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2017-03-21 06:10:15 +1000
committerDave Airlie <[email protected]>2017-03-21 10:05:49 +1000
commit93e62898ccb752cf8e2040044f6a3700e7d1c812 (patch)
treee0adb287b47bf859bc4d8840a3698632a7d9ebcb
parent72c89522c23e54ef19d0a8a7fd85f791727a05d6 (diff)
radv: drop illegal DB format error.
We'll get this if we have a stencil only setup. Signed-off-by: Dave Airlie <[email protected]>
-rw-r--r--src/amd/vulkan/radv_device.c3
1 files changed, 0 insertions, 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;