From 6e2b9fd07171bf9b082c3b0cd218b35034d8ec15 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Tue, 21 Mar 2017 23:13:46 +0100 Subject: gallivm: remove lp_add_attr_dereferenceable in favor of amd/common MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Nicolai Hähnle Reviewed-by: Dave Airlie --- src/gallium/drivers/radeonsi/si_shader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/drivers/radeonsi') diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c index b5cb41d33c3..46c7d411704 100644 --- a/src/gallium/drivers/radeonsi/si_shader.c +++ b/src/gallium/drivers/radeonsi/si_shader.c @@ -5226,7 +5226,7 @@ static void si_create_function(struct si_shader_context *ctx, if (LLVMGetTypeKind(LLVMTypeOf(P)) == LLVMPointerTypeKind) { lp_add_function_attr(ctx->main_fn, i + 1, LP_FUNC_ATTR_BYVAL); lp_add_function_attr(ctx->main_fn, i + 1, LP_FUNC_ATTR_NOALIAS); - lp_add_attr_dereferenceable(P, UINT64_MAX); + ac_add_attr_dereferenceable(P, UINT64_MAX); } else lp_add_function_attr(ctx->main_fn, i + 1, LP_FUNC_ATTR_INREG); } -- cgit v1.2.3