From f700d16a892cbedc58a8c7850f1e75d1c127ce26 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Fri, 4 Mar 2016 15:38:11 -0800 Subject: anv/cmd_buffer: Include Haswell in set_subpass --- src/intel/vulkan/anv_cmd_buffer.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/intel/vulkan/anv_cmd_buffer.c') diff --git a/src/intel/vulkan/anv_cmd_buffer.c b/src/intel/vulkan/anv_cmd_buffer.c index 418a143b7bc..aa54bdecb0a 100644 --- a/src/intel/vulkan/anv_cmd_buffer.c +++ b/src/intel/vulkan/anv_cmd_buffer.c @@ -965,7 +965,11 @@ anv_cmd_buffer_set_subpass(struct anv_cmd_buffer *cmd_buffer, { switch (cmd_buffer->device->info.gen) { case 7: - gen7_cmd_buffer_set_subpass(cmd_buffer, subpass); + if (cmd_buffer->device->info.is_haswell) { + gen75_cmd_buffer_set_subpass(cmd_buffer, subpass); + } else { + gen7_cmd_buffer_set_subpass(cmd_buffer, subpass); + } break; case 8: gen8_cmd_buffer_set_subpass(cmd_buffer, subpass); -- cgit v1.2.3