summaryrefslogtreecommitdiffstats
path: root/src/intel/isl/isl.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-04-15 16:53:31 -0700
committerJason Ekstrand <[email protected]>2016-04-21 20:44:27 -0700
commit90576ac96303941ffefe50e56aad15ba09459aa8 (patch)
treeb8ee5adadf3e014c499c801ca1d12af1cf1668be /src/intel/isl/isl.h
parent37f6f21b1f65d13c706a5de00e531608fea9ea66 (diff)
isl: Take a devinfo in lower_storage_image_format instead of an isl_device
We want to call this function from the shader compiler and having a full isl_device available at that point isn't practical. Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/intel/isl/isl.h')
-rw-r--r--src/intel/isl/isl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/isl/isl.h b/src/intel/isl/isl.h
index 62d3769feea..6c417b29f4c 100644
--- a/src/intel/isl/isl.h
+++ b/src/intel/isl/isl.h
@@ -900,7 +900,7 @@ enum isl_format isl_format_rgb_to_rgbx(enum isl_format rgb) ATTRIBUTE_CONST;
bool isl_is_storage_image_format(enum isl_format fmt);
enum isl_format
-isl_lower_storage_image_format(const struct isl_device *dev,
+isl_lower_storage_image_format(const struct brw_device_info *devinfo,
enum isl_format fmt);
static inline bool