summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/iris/iris_resource.h
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2019-02-13 16:41:46 -0800
committerKenneth Graunke <[email protected]>2019-02-21 10:26:12 -0800
commit07ec1f0b253c552bf6b60d5b67e11089db2673e3 (patch)
tree99a8169743e92557c97ecc7f8bf1791e0aba981e /src/gallium/drivers/iris/iris_resource.h
parent455c959689ea709a8572cd34f13139887748fff8 (diff)
iris: Make an IRIS_MAX_MIPLEVELS define
Diffstat (limited to 'src/gallium/drivers/iris/iris_resource.h')
-rw-r--r--src/gallium/drivers/iris/iris_resource.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/iris/iris_resource.h b/src/gallium/drivers/iris/iris_resource.h
index 0edc1b6f3a9..060472f6df3 100644
--- a/src/gallium/drivers/iris/iris_resource.h
+++ b/src/gallium/drivers/iris/iris_resource.h
@@ -30,6 +30,8 @@
struct iris_batch;
struct iris_context;
+#define IRIS_MAX_MIPLEVELS 15
+
struct iris_format_info {
enum isl_format fmt;
struct isl_swizzle swizzle;