================ @@ -20,10 +20,17 @@ AMDGPU_TYPE(Name, Id, SingletonId, Width, Align) #endif +#ifndef AMDGPU_IMAGE_RSRC_TYPE ---------------- ranapratap55 wrote: updated to use opaque ptr type. https://github.com/llvm/llvm-project/pull/160258