summaryrefslogtreecommitdiffstats
path: root/src/intel/isl/isl.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-02-24 12:45:42 -0800
committerJason Ekstrand <[email protected]>2016-02-27 10:26:14 -0800
commitbd6470fa6cdc3d969c170d4d9a8aeee12747ecaf (patch)
treec88dac5558849950ade3ed14b0df7f4a08cf936d /src/intel/isl/isl.h
parent7363024cbda0c513ad76d22580ce363f30ae1eda (diff)
isl: Add helpers for filling out brw_image_param
Diffstat (limited to 'src/intel/isl/isl.h')
-rw-r--r--src/intel/isl/isl.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/intel/isl/isl.h b/src/intel/isl/isl.h
index 151f1ca27cb..7456975014b 100644
--- a/src/intel/isl/isl.h
+++ b/src/intel/isl/isl.h
@@ -1028,6 +1028,18 @@ void
isl_buffer_fill_state_s(const struct isl_device *dev, void *state,
const struct isl_buffer_fill_state_info *restrict info);
+void
+isl_surf_fill_image_param(const struct isl_device *dev,
+ struct brw_image_param *param,
+ const struct isl_surf *surf,
+ const struct isl_view *view);
+
+void
+isl_buffer_fill_image_param(const struct isl_device *dev,
+ struct brw_image_param *param,
+ enum isl_format format,
+ uint64_t size);
+
/**
* Alignment of the upper-left sample of each subimage, in units of surface
* elements.