[Mesa-dev] [PATCH 03/16] i965: Mark read-only args as const in intel_miptree_supports_hiz()
Emil Velikov
emil.l.velikov at gmail.com
Mon Jul 17 15:14:16 UTC 2017
On 17 July 2017 at 14:34, Topi Pohjolainen <topi.pohjolainen at gmail.com> wrote:
> Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>
> ---
> src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/mesa/drivers/dri/i965/intel_mipmap_tree.c b/src/mesa/drivers/dri/i965/intel_mipmap_tree.c
> index b9a00caad2..69a9328d6c 100644
> --- a/src/mesa/drivers/dri/i965/intel_mipmap_tree.c
> +++ b/src/mesa/drivers/dri/i965/intel_mipmap_tree.c
> @@ -217,8 +217,8 @@ intel_miptree_supports_ccs(struct brw_context *brw,
> }
>
> static bool
> -intel_miptree_supports_hiz(struct brw_context *brw,
> - struct intel_mipmap_tree *mt)
> +intel_miptree_supports_hiz(const struct brw_context *brw,
> + const struct intel_mipmap_tree *mt)
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
-Emil
More information about the mesa-dev
mailing list