summaryrefslogtreecommitdiffstats
path: root/src/vulkan/anv_private.h
diff options
context:
space:
mode:
authorChad Versace <[email protected]>2015-11-13 10:12:51 -0800
committerChad Versace <[email protected]>2015-11-13 10:44:09 -0800
commitaf392916ff3856c8e606212914c1623674c49aff (patch)
tree8abef5a4055edc0f34b04c617092ce5d52369b3f /src/vulkan/anv_private.h
parenta4a2ea3f79153627b631a2b1a7f3c4ac38430817 (diff)
anv/device: Embed isl_device
Embed struct isl_device into anv_physical_device and anv_device. It will later be used for surface layout calculations.
Diffstat (limited to 'src/vulkan/anv_private.h')
-rw-r--r--src/vulkan/anv_private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vulkan/anv_private.h b/src/vulkan/anv_private.h
index cf6f415141a..8269c7e8509 100644
--- a/src/vulkan/anv_private.h
+++ b/src/vulkan/anv_private.h
@@ -428,6 +428,7 @@ struct anv_physical_device {
const struct brw_device_info * info;
uint64_t aperture_size;
struct brw_compiler * compiler;
+ struct isl_device isl_dev;
};
bool anv_is_scalar_shader_stage(const struct brw_compiler *compiler,
@@ -485,6 +486,7 @@ struct anv_device {
struct anv_instance * instance;
uint32_t chipset_id;
struct brw_device_info info;
+ struct isl_device isl_dev;
int context_id;
int fd;