• Home
  • Raw
  • Download

Lines Matching refs:convertSatRte

226 inline T convertSatRte (float f)  in convertSatRte()  function
255 const deUint32 rounded = convertSatRte<deUint32>(f); in convertSatRteUint24()
262 const deUint16 rounded = convertSatRte<deUint16>(f); in convertSatRteUint10()
269 const deUint16 rounded = convertSatRte<deUint16>(f); in convertSatRteUint12()
345 …case TextureFormat::SNORM_INT8: *((deInt8*)dst) = convertSatRte<deInt8> (src * 127.0f); br… in floatToChannel()
346 …case TextureFormat::SNORM_INT16: *((deInt16*)dst) = convertSatRte<deInt16> (src * 32767.0f); b… in floatToChannel()
347 …case TextureFormat::SNORM_INT32: *((deInt32*)dst) = convertSatRte<deInt32> (src * 2147483647.0f)… in floatToChannel()
348 …case TextureFormat::UNORM_INT8: *((deUint8*)dst) = convertSatRte<deUint8> (src * 255.0f); br… in floatToChannel()
349 …case TextureFormat::UNORM_INT16: *((deUint16*)dst) = convertSatRte<deUint16> (src * 65535.0f); … in floatToChannel()
351 …case TextureFormat::UNORM_INT32: *((deUint32*)dst) = convertSatRte<deUint32> (src * 4294967295.0… in floatToChannel()
352 case TextureFormat::SIGNED_INT8: *((deInt8*)dst) = convertSatRte<deInt8> (src); break; in floatToChannel()
353 case TextureFormat::SIGNED_INT16: *((deInt16*)dst) = convertSatRte<deInt16> (src); break; in floatToChannel()
354 case TextureFormat::SIGNED_INT32: *((deInt32*)dst) = convertSatRte<deInt32> (src); break; in floatToChannel()
355 case TextureFormat::UNSIGNED_INT8: *((deUint8*)dst) = convertSatRte<deUint8> (src); break; in floatToChannel()
356 …case TextureFormat::UNSIGNED_INT16: *((deUint16*)dst) = convertSatRte<deUint16> (src); brea… in floatToChannel()
358 …case TextureFormat::UNSIGNED_INT32: *((deUint32*)dst) = convertSatRte<deUint32> (src); brea… in floatToChannel()
483 const deUint32 intVal = convertSatRte<deUint32>(src * (float)maxVal); in unormFloatToChannel()
492 const deInt32 intVal = convertSatRte<deInt32>(src * (float)range); in snormFloatToChannel()
1513 writeUint32High16(pixelPtr, convertSatRte<deUint16>(depth * 65535.0f)); in setPixDepth()