diff --git a/source/adapters/level_zero/image.cpp b/source/adapters/level_zero/image.cpp index 0d986de0ad..582121d91a 100644 --- a/source/adapters/level_zero/image.cpp +++ b/source/adapters/level_zero/image.cpp @@ -738,13 +738,12 @@ UR_APIEXPORT ur_result_t UR_APICALL urBindlessImagesSampledImageCreateExp( hContext, hDevice, hImageMem, pImageFormat, pImageDesc, phMem, phImage)); struct combined_sampled_image_handle { - uint64_t raw_image_handle; - uint64_t raw_sampler_handle; + uint64_t RawImageHandle; + uint64_t RawSamplerHandle; }; - combined_sampled_image_handle *sampledImageHandle = + auto *SampledImageHandle = reinterpret_cast(phImage); - sampledImageHandle->raw_image_handle = reinterpret_cast(*phImage); - sampledImageHandle->raw_sampler_handle = + SampledImageHandle->RawSamplerHandle = reinterpret_cast(hSampler->ZeSampler); return UR_RESULT_SUCCESS;