Home
last modified time | relevance | path

Searched refs:convertSatRte (Results 1 – 3 of 3) sorted by relevance

/third_party/vk-gl-cts/framework/common/
DtcuTexture.cpp227 inline T convertSatRte (float f) in convertSatRte() function
256 const deUint32 rounded = convertSatRte<deUint32>(f); in convertSatRteUint24()
263 const deUint16 rounded = convertSatRte<deUint16>(f); in convertSatRteUint10()
270 const deUint16 rounded = convertSatRte<deUint16>(f); in convertSatRteUint12()
364 …case TextureFormat::SNORM_INT8: *((deInt8*)dst) = convertSatRte<deInt8> (src * 127.0f); br… in floatToChannel()
365 …case TextureFormat::SNORM_INT16: *((deInt16*)dst) = convertSatRte<deInt16> (src * 32767.0f); b… in floatToChannel()
366 …case TextureFormat::SNORM_INT32: *((deInt32*)dst) = convertSatRte<deInt32> (src * 2147483647.0f)… in floatToChannel()
367 …case TextureFormat::UNORM_INT8: *((deUint8*)dst) = convertSatRte<deUint8> (src * 255.0f); br… in floatToChannel()
368 …case TextureFormat::UNORM_INT16: *((deUint16*)dst) = convertSatRte<deUint16> (src * 65535.0f); … in floatToChannel()
370 …case TextureFormat::UNORM_INT32: *((deUint32*)dst) = convertSatRte<deUint32> (src * 4294967295.0… in floatToChannel()
[all …]
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkRayTracingUtil.hpp123 inline T convertSatRte (float f) in convertSatRte() function
157 const T intVal = convertSatRte<T>(src * static_cast<float>(range)); in deFloat32ToSNorm()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrUtil.cpp740 inline T convertSatRte (float f) in convertSatRte() function
912 … const deUint32 value (de::min(maxValue, (deUint32)convertSatRte<deUint32>(x * (float)maxValue))); in setChannel()
920 …const deUint32 value ((deUint32)de::clamp<deInt32>(convertSatRte<deInt32>(x * (float)range), -rang… in setChannel()