From e8b3e9e5b6c39208a06558e030608b3db29dd712 Mon Sep 17 00:00:00 2001 From: Vladana Stojiljkovic Date: Thu, 8 Aug 2024 12:52:57 +0200 Subject: [PATCH] SWDEV-478207 - Return hipSuccess on the end of hipTexRefGetMaxAnisotropy Change-Id: I0c4d6d13a178af8449853c87e62a1868eb17f87d [ROCm/clr commit: f5e6e27fe1fca720637355553f8b9aee78d19a60] --- projects/clr/hipamd/src/hip_texture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/clr/hipamd/src/hip_texture.cpp b/projects/clr/hipamd/src/hip_texture.cpp index 21cccda234..5e2f4bbd13 100644 --- a/projects/clr/hipamd/src/hip_texture.cpp +++ b/projects/clr/hipamd/src/hip_texture.cpp @@ -1265,7 +1265,7 @@ hipError_t hipTexRefGetMaxAnisotropy(int* pmaxAnsio, *pmaxAnsio = texRef->maxAnisotropy; - HIP_RETURN(hipErrorInvalidValue); + HIP_RETURN(hipSuccess); } hipError_t hipTexRefGetMipmapFilterMode(hipTextureFilterMode* pfm,