summaryrefslogtreecommitdiffstats
path: root/src/intel/isl/isl_gen9.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-08-23 21:46:23 -0700
committerJason Ekstrand <[email protected]>2016-08-25 14:10:43 -0700
commitcda1a5dc0e1b7660d25513261358c92d7b36940c (patch)
treed267601a6b563aab64738f365be6b0a332e68852 /src/intel/isl/isl_gen9.c
parentf68cfb05fa1ac9a6f5e0b921a7dce00e315fa52c (diff)
intel/isl: Pass the dim_layout into choose_alignment_el
Signed-off-by: Jason Ekstrand <[email protected]> Reviewed-by: Topi Pohjolainen <[email protected]> Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/intel/isl/isl_gen9.c')
-rw-r--r--src/intel/isl/isl_gen9.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/intel/isl/isl_gen9.c b/src/intel/isl/isl_gen9.c
index 9c76ccfc669..cbbbba66272 100644
--- a/src/intel/isl/isl_gen9.c
+++ b/src/intel/isl/isl_gen9.c
@@ -100,6 +100,7 @@ void
gen9_choose_image_alignment_el(const struct isl_device *dev,
const struct isl_surf_init_info *restrict info,
enum isl_tiling tiling,
+ enum isl_dim_layout dim_layout,
enum isl_msaa_layout msaa_layout,
struct isl_extent3d *image_align_el)
{
@@ -195,6 +196,6 @@ gen9_choose_image_alignment_el(const struct isl_device *dev,
return;
}
- gen8_choose_image_alignment_el(dev, info, tiling, msaa_layout,
- image_align_el);
+ gen8_choose_image_alignment_el(dev, info, tiling, dim_layout,
+ msaa_layout, image_align_el);
}