intel/isl: Plumb devinfo into isl_genX(buffer_fill_state_s)
authorJason Ekstrand <jason@jlekstrand.net>
Fri, 24 Jan 2020 04:20:33 +0000 (22:20 -0600)
committerMarge Bot <eric+marge@anholt.net>
Fri, 24 Jan 2020 19:18:27 +0000 (19:18 +0000)
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3547>

src/intel/isl/isl.c
src/intel/isl/isl_genX_priv.h
src/intel/isl/isl_surface_state.c

index 2e26bb02168201107c894f37cd6e1c4eadd4f28b..86517f662ddf8c21a9a75dd9f96afcf9d188fcb0 100644 (file)
@@ -2163,7 +2163,7 @@ void
 isl_buffer_fill_state_s(const struct isl_device *dev, void *state,
                         const struct isl_buffer_fill_state_info *restrict info)
 {
-   isl_genX_call(dev, buffer_fill_state_s, state, info);
+   isl_genX_call(dev, buffer_fill_state_s, dev, state, info);
 }
 
 void
index a005e1c7b32c958bd908654e48ecc980d0c5382e..1dc6093614a990d4835a994e69db0196f0f7aa36 100644 (file)
@@ -37,7 +37,7 @@ isl_genX(surf_fill_state_s)(const struct isl_device *dev, void *state,
                             const struct isl_surf_fill_state_info *restrict info);
 
 void
-isl_genX(buffer_fill_state_s)(void *state,
+isl_genX(buffer_fill_state_s)(const struct isl_device *dev, void *state,
                               const struct isl_buffer_fill_state_info *restrict info);
 
 void
index a7ef407360d20c79cbc61ce4c53c4c339b1e2154..b1e38fdf66e6be5b51bf376addc072d69a27a952 100644 (file)
@@ -740,7 +740,7 @@ isl_genX(surf_fill_state_s)(const struct isl_device *dev, void *state,
 }
 
 void
-isl_genX(buffer_fill_state_s)(void *state,
+isl_genX(buffer_fill_state_s)(const struct isl_device *dev, void *state,
                               const struct isl_buffer_fill_state_info *restrict info)
 {
    uint64_t buffer_size = info->size_B;