diff --git a/rocclr/runtime/device/gpu/gpuresource.cpp b/rocclr/runtime/device/gpu/gpuresource.cpp index c6429f660d..6de10e50d1 100644 --- a/rocclr/runtime/device/gpu/gpuresource.cpp +++ b/rocclr/runtime/device/gpu/gpuresource.cpp @@ -289,7 +289,7 @@ static uint32_t GetHSAILImageOrderType(gslChannelOrder chOrder) orderType = 6; break;*/ case GSL_CHANNEL_ORDER_RGB: - orderType = 7; + orderType = 6; break; case GSL_CHANNEL_ORDER_RGBA: orderType = 8;