summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChad Versace <[email protected]>2015-11-13 09:29:31 -0800
committerChad Versace <[email protected]>2015-11-13 10:31:49 -0800
commit652727b0295d40d181c6a6420e19bdf0db005784 (patch)
treed85d14e8fed26034e46d63ec02d7a62923d7562d
parentb1bb270590ae969b86a3f838d83e06466f345723 (diff)
isl: Add structs isl_extent2d, isl_extent3d
They are nowhere used yet.
-rw-r--r--src/vulkan/isl.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/vulkan/isl.h b/src/vulkan/isl.h
index 7680fa9ef9a..fde16d3bbf0 100644
--- a/src/vulkan/isl.h
+++ b/src/vulkan/isl.h
@@ -316,6 +316,17 @@ struct isl_device {
uint8_t gen;
};
+struct isl_extent2d {
+ uint32_t width;
+ uint32_t height;
+};
+
+struct isl_extent3d {
+ uint32_t width;
+ uint32_t height;
+ uint32_t depth;
+};
+
struct isl_channel_layout {
enum isl_base_type type;
uint8_t bits; /**< Size in bits */