diff --git a/hipamd/include/hip/hcc_detail/hip_texture_types.h b/hipamd/include/hip/hcc_detail/hip_texture_types.h index e92babfd5a..7c3a0138c1 100644 --- a/hipamd/include/hip/hcc_detail/hip_texture_types.h +++ b/hipamd/include/hip/hcc_detail/hip_texture_types.h @@ -65,6 +65,10 @@ struct __HIP_TEXTURE_ATTRIB texture : public textureReference { channelDesc = hipCreateChannelDesc(); sRGB = 0; textureObject = nullptr; + maxAnisotropy = 0; + mipmapLevelBias = 0; + minMipmapLevelClamp = 0; + maxMipmapLevelClamp = 0; } texture(int norm, enum hipTextureFilterMode fMode, enum hipTextureAddressMode aMode, @@ -78,6 +82,10 @@ struct __HIP_TEXTURE_ATTRIB texture : public textureReference { channelDesc = desc; sRGB = 0; textureObject = nullptr; + maxAnisotropy = 0; + mipmapLevelBias = 0; + minMipmapLevelClamp = 0; + maxMipmapLevelClamp = 0; } };