diff options
author | Marek Olšák <[email protected]> | 2017-03-21 23:13:46 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-03-22 17:54:40 +0100 |
commit | 6e2b9fd07171bf9b082c3b0cd218b35034d8ec15 (patch) | |
tree | 4636ad4b46312e7080ab00947745c443aa596b21 /src/gallium/drivers/radeonsi | |
parent | 7ab03ba7258d880560051d4f087b106ff8dce51d (diff) |
gallivm: remove lp_add_attr_dereferenceable in favor of amd/common
Reviewed-by: Nicolai Hähnle <[email protected]>
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_shader.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |