From 95ee059bbb4b3e7004d4e23509e0c337e901138f Mon Sep 17 00:00:00 2001 From: vsytch Date: Fri, 24 Jan 2020 14:41:15 -0500 Subject: [PATCH] Update the HIP_TRSF_* flags to match their Cuda equivalents. (#1801) [ROCm/hip commit: 9cfada0f9d5a842889a14584cc3b63000fbc6ecd] --- projects/hip/include/hip/hcc_detail/driver_types.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/projects/hip/include/hip/hcc_detail/driver_types.h b/projects/hip/include/hip/hcc_detail/driver_types.h index 510d3d058e..0c29542c7e 100644 --- a/projects/hip/include/hip/hcc_detail/driver_types.h +++ b/projects/hip/include/hip/hcc_detail/driver_types.h @@ -43,9 +43,10 @@ typedef struct hipChannelFormatDesc { enum hipChannelFormatKind f; }hipChannelFormatDesc; -#define HIP_TRSF_NORMALIZED_COORDINATES 0x01 -#define HIP_TRSF_READ_AS_INTEGER 0x00 #define HIP_TRSA_OVERRIDE_FORMAT 0x01 +#define HIP_TRSF_READ_AS_INTEGER 0x01 +#define HIP_TRSF_NORMALIZED_COORDINATES 0x02 +#define HIP_TRSF_SRGB 0x10 typedef enum hipArray_Format { HIP_AD_FORMAT_UNSIGNED_INT8 = 0x01,