Skip to content

Commit

Permalink
Rename some image_channel_type enums
Browse files Browse the repository at this point in the history
Adjust names of some image_channel_type enums to
recent changes in OpenCL C++ spec.
  • Loading branch information
Jakub Szuppe authored and kepatil committed Jun 27, 2017
1 parent 092e905 commit 96459f1
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions include/__ocl_image_enums.h
Expand Up @@ -48,14 +48,14 @@ enum class image_channel_type
unorm_short555 = static_cast<__details::channel_data_type>(__spirv::ImageChannelDataType::UnormShort555),
unorm_short101010 = static_cast<__details::channel_data_type>(__spirv::ImageChannelDataType::UnormInt101010),
unorm_short101010_2 = static_cast<__details::channel_data_type>(__spirv::ImageChannelDataType::UnormInt101010_2),
sint8 = static_cast<__details::channel_data_type>(__spirv::ImageChannelDataType::SignedInt8),
sint16 = static_cast<__details::channel_data_type>(__spirv::ImageChannelDataType::SignedInt16),
sint32 = static_cast<__details::channel_data_type>(__spirv::ImageChannelDataType::SignedInt32),
uint8 = static_cast<__details::channel_data_type>(__spirv::ImageChannelDataType::UnsignedInt8),
uint16 = static_cast<__details::channel_data_type>(__spirv::ImageChannelDataType::UnsignedInt16),
uint32 = static_cast<__details::channel_data_type>(__spirv::ImageChannelDataType::UnsignedInt32),
float16 = static_cast<__details::channel_data_type>(__spirv::ImageChannelDataType::HalfFloat),
float32 = static_cast<__details::channel_data_type>(__spirv::ImageChannelDataType::Float)
signed_int8 = static_cast<__details::channel_data_type>(__spirv::ImageChannelDataType::SignedInt8),
signed_int16 = static_cast<__details::channel_data_type>(__spirv::ImageChannelDataType::SignedInt16),
signed_int32 = static_cast<__details::channel_data_type>(__spirv::ImageChannelDataType::SignedInt32),
unsigned_int8 = static_cast<__details::channel_data_type>(__spirv::ImageChannelDataType::UnsignedInt8),
unsigned_int16 = static_cast<__details::channel_data_type>(__spirv::ImageChannelDataType::UnsignedInt16),
unsigned_int32 = static_cast<__details::channel_data_type>(__spirv::ImageChannelDataType::UnsignedInt32),
fp16 = static_cast<__details::channel_data_type>(__spirv::ImageChannelDataType::HalfFloat),
fp32 = static_cast<__details::channel_data_type>(__spirv::ImageChannelDataType::Float)
};

/// \brief Enumerable describing channel order of the image
Expand Down

0 comments on commit 96459f1

Please sign in to comment.