summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Ekstrand <jason.ekstrand@intel.com>2016-09-20 01:30:32 -0700
committerJason Ekstrand <jason.ekstrand@intel.com>2016-09-25 03:29:48 -0700
commitc38d380fee91f2f86f0cb62b19f347c48c440328 (patch)
tree7fb71a5f5e8a3cb51a436c036ffd0b7bbbf57079
parent24463844e848bf30055943e540ec6cf28c072dea (diff)
tests/func.miptree: Use the correct format when creating the VkRenderPass
-rw-r--r--src/tests/func/miptree/miptree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/func/miptree/miptree.c b/src/tests/func/miptree/miptree.c
index 110461a..19345be 100644
--- a/src/tests/func/miptree/miptree.c
+++ b/src/tests/func/miptree/miptree.c
@@ -1138,7 +1138,7 @@ init_draw_data(test_draw_data_t *draw_data)
.pAttachments = (VkAttachmentDescription[]) {
{
QO_ATTACHMENT_DESCRIPTION_DEFAULTS,
- .format = params->format,
+ .format = get_color_format(params->format),
},
},
.subpassCount = 1,