summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_pass.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-05-13 14:07:21 -0700
committerJason Ekstrand <[email protected]>2016-05-17 12:17:22 -0700
commit9102e88364a7e6a5c66f5b0eb5869ab029cddf92 (patch)
tree1c606326e3fc161951b88c1bc69a51bde300b961 /src/intel/vulkan/anv_pass.c
parentffc502ce0c422822b8d276d07600a6089c70b4af (diff)
anv: Change render_pass_attachment.format to a VkFormat
Diffstat (limited to 'src/intel/vulkan/anv_pass.c')
-rw-r--r--src/intel/vulkan/anv_pass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_pass.c b/src/intel/vulkan/anv_pass.c
index d07e9fec6cc..b7407548779 100644
--- a/src/intel/vulkan/anv_pass.c
+++ b/src/intel/vulkan/anv_pass.c
@@ -57,7 +57,7 @@ VkResult anv_CreateRenderPass(
for (uint32_t i = 0; i < pCreateInfo->attachmentCount; i++) {
struct anv_render_pass_attachment *att = &pass->attachments[i];
- att->format = anv_format_for_vk_format(pCreateInfo->pAttachments[i].format);
+ att->format = pCreateInfo->pAttachments[i].format;
att->samples = pCreateInfo->pAttachments[i].samples;
att->load_op = pCreateInfo->pAttachments[i].loadOp;
att->stencil_load_op = pCreateInfo->pAttachments[i].stencilLoadOp;