Cycles HIP: Fix incorrect rendering of clip image textures #118540

Merged
Brecht Van Lommel merged 2 commits from Alaska/blender:hip-clip into blender-v4.1-release 2024-02-29 13:49:41 +01:00
1 changed files with 1 additions and 3 deletions

View File

@ -661,9 +661,7 @@ void HIPDevice::tex_alloc(device_texture &mem)
address_mode = hipAddressModeClamp;
break;
case EXTENSION_CLIP:
/* TODO(@arya): setting this to Mode Clamp instead of Mode Border
* because it's unsupported in HIP. */
address_mode = hipAddressModeClamp;
address_mode = hipAddressModeBorder;
break;
case EXTENSION_MIRROR:
address_mode = hipAddressModeMirror;