From: Jason Ekstrand Date: Fri, 4 Mar 2016 23:38:11 +0000 (-0800) Subject: anv/cmd_buffer: Include Haswell in set_subpass X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f700d16a892cbedc58a8c7850f1e75d1c127ce26;p=mesa.git anv/cmd_buffer: Include Haswell in set_subpass --- 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);