Home
last modified time | relevance | path

Searched refs:convertSatRte (Results 1 - 4 of 4) sorted by relevance

/third_party/vk-gl-cts/framework/common/
H A 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()
402 case TextureFormat::SNORM_INT8: *((deInt8*)dst) = convertSatRte<deInt8> (src * 127.0f); break; in floatToChannel()
403 case TextureFormat::SNORM_INT16: *((deInt16*)dst) = convertSatRte<deInt16> (src * 32767.0f); break; in floatToChannel()
404 case TextureFormat::SNORM_INT32: *((deInt32*)dst) = convertSatRte<deInt32> (src * 2147483647.0f); break; in floatToChannel()
405 case TextureFormat::UNORM_INT8: *((deUint8*)dst) = convertSatRte<deUint8> (src * 255.0f); break; in floatToChannel()
406 case TextureFormat::UNORM_INT16: *((deUint16*)dst) = convertSatRte<deUint16> (src * 65535.0f); break; in floatToChannel()
408 case TextureFormat::UNORM_INT32: *((deUint32*)dst) = convertSatRte<deUint3 in floatToChannel()
[all...]
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
H A DvkRayTracingUtil.hpp127 inline T convertSatRte (float f) in convertSatRte() function
161 const T intVal = convertSatRte<T>(src * static_cast<float>(range)); in deFloat32ToSNorm()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/
H A DvktYCbCrUtil.cpp771 inline T convertSatRte (float f) in convertSatRte() function
943 const deUint32 value (de::min(maxValue, (deUint32)convertSatRte<deUint32>(x * (float)maxValue)));
951 const deUint32 value ((deUint32)de::clamp<deInt32>(convertSatRte<deInt32>(x * (float)range), -range, range));
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ycbcr/
H A DvktYCbCrUtil.cpp770 inline T convertSatRte (float f) in convertSatRte() function
942 const deUint32 value (de::min(maxValue, (deUint32)convertSatRte<deUint32>(x * (float)maxValue)));
950 const deUint32 value ((deUint32)de::clamp<deInt32>(convertSatRte<deInt32>(x * (float)range), -range, range));

Completed in 10 milliseconds