summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-03-04 15:38:11 -0800
committerJason Ekstrand <[email protected]>2016-03-04 17:54:29 -0800
commitf700d16a892cbedc58a8c7850f1e75d1c127ce26 (patch)
tree8e27b44d8ab6344264aad718f45f76635bb44c9c
parenta6fb62a86441ce7296f9d06cf7a71d2f51f3a3f5 (diff)
anv/cmd_buffer: Include Haswell in set_subpass
-rw-r--r--src/intel/vulkan/anv_cmd_buffer.c6
1 files changed, 5 insertions, 1 deletions
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);