aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_format.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_format.h')
-rw-r--r--src/gallium/drivers/ilo/ilo_format.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gallium/drivers/ilo/ilo_format.h b/src/gallium/drivers/ilo/ilo_format.h
index ebbec60838f..1af1ea8e909 100644
--- a/src/gallium/drivers/ilo/ilo_format.h
+++ b/src/gallium/drivers/ilo/ilo_format.h
@@ -38,7 +38,7 @@ void
ilo_init_format_functions(struct ilo_screen *is);
int
-ilo_translate_color_format(const struct ilo_dev_info *dev,
+ilo_translate_color_format(const struct ilo_dev *dev,
enum pipe_format format);
/**
@@ -49,7 +49,7 @@ ilo_translate_color_format(const struct ilo_dev_info *dev,
* caveats that the callers should be aware of before calling this function.
*/
static inline int
-ilo_translate_format(const struct ilo_dev_info *dev,
+ilo_translate_format(const struct ilo_dev *dev,
enum pipe_format format, unsigned bind)
{
switch (bind) {
@@ -127,21 +127,21 @@ ilo_translate_format(const struct ilo_dev_info *dev,
}
static inline int
-ilo_translate_render_format(const struct ilo_dev_info *dev,
+ilo_translate_render_format(const struct ilo_dev *dev,
enum pipe_format format)
{
return ilo_translate_format(dev, format, PIPE_BIND_RENDER_TARGET);
}
static inline int
-ilo_translate_texture_format(const struct ilo_dev_info *dev,
+ilo_translate_texture_format(const struct ilo_dev *dev,
enum pipe_format format)
{
return ilo_translate_format(dev, format, PIPE_BIND_SAMPLER_VIEW);
}
static inline int
-ilo_translate_vertex_format(const struct ilo_dev_info *dev,
+ilo_translate_vertex_format(const struct ilo_dev *dev,
enum pipe_format format)
{
return ilo_translate_format(dev, format, PIPE_BIND_VERTEX_BUFFER);