summaryrefslogtreecommitdiffstats
path: root/src/vulkan/anv_device.c
diff options
context:
space:
mode:
authorKristian Høgsberg Kristensen <[email protected]>2015-08-20 22:59:19 -0700
committerKristian Høgsberg Kristensen <[email protected]>2015-08-24 13:45:41 -0700
commitf1455ffac78b1369d9c4187b7f1d36c2d96e0bab (patch)
treeb49a3230e3820c62866883a6dbdbca5be8545efd /src/vulkan/anv_device.c
parent891995e55bbadf75699e659c9d5ded24419e3ad3 (diff)
vk: Add gen7 support
With all the previous commits in place, we can now drop in support for multiple platforms. First up is gen7 (Ivybridge). Signed-off-by: Kristian Høgsberg Kristensen <[email protected]>
Diffstat (limited to 'src/vulkan/anv_device.c')
-rw-r--r--src/vulkan/anv_device.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vulkan/anv_device.c b/src/vulkan/anv_device.c
index 27a51129a74..6d2f58603b3 100644
--- a/src/vulkan/anv_device.c
+++ b/src/vulkan/anv_device.c
@@ -1330,6 +1330,9 @@ anv_fill_buffer_surface_state(struct anv_device *device, void *state,
uint32_t offset, uint32_t range)
{
switch (device->info.gen) {
+ case 7:
+ gen7_fill_buffer_surface_state(state, format, offset, range);
+ break;
case 8:
gen8_fill_buffer_surface_state(state, format, offset, range);
break;