Skip to content

Commit

Permalink
SWDEV-439637 - Added hipTexRefGetArray hipTexRefGetBorderColor(github…
Browse files Browse the repository at this point in the history
… id- #3382)

Change-Id: I8e7ad7e5ffd4d78293739d5eee94d9e6f5079c2d
  • Loading branch information
Anusha GodavarthySurya authored and Anusha Godavarthy Surya committed Feb 5, 2024
1 parent 310b089 commit e2dcda0
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions include/hip/hip_runtime_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -6053,6 +6053,34 @@ DEPRECATED(DEPRECATED_MSG)
hipError_t hipGetTextureReference(
const textureReference** texref,
const void* symbol);

/**
* @brief Gets the border color used by a texture reference.
*
* @param [out] pBorderColor Returned Type and Value of RGBA color.
* @param [in] texRef Texture reference.
*
* @returns #hipSuccess, #hipErrorInvalidValue
* @warning This API is deprecated.
*
*/
DEPRECATED(DEPRECATED_MSG)
hipError_t hipTexRefGetBorderColor(float* pBorderColor, const textureReference* texRef);

/**
* @brief Gets the array bound to a texture reference.
*
* @param [in] pArray Returned array.
* @param [in] texRef texture reference.
*
* @returns #hipSuccess, #hipErrorInvalidValue
* @warning This API is deprecated.
*
*/
DEPRECATED(DEPRECATED_MSG)
hipError_t hipTexRefGetArray(hipArray_t* pArray, const textureReference* texRef);

/**
* @brief Sets address mode for a texture reference.
*
Expand Down

0 comments on commit e2dcda0

Please sign in to comment.