Lines Matching refs:num_bits
226 uint32_t num_bits = seg.GetNumBits(); in GetActualValuesFromTexel() local
227 CopyBitsOfMemoryToBuffer(actual, texel, bit_offset, num_bits); in GetActualValuesFromTexel()
230 if (type::Type::IsInt8(mode, num_bits)) { in GetActualValuesFromTexel()
234 } else if (type::Type::IsInt16(mode, num_bits)) { in GetActualValuesFromTexel()
238 } else if (type::Type::IsInt32(mode, num_bits)) { in GetActualValuesFromTexel()
242 } else if (type::Type::IsInt64(mode, num_bits)) { in GetActualValuesFromTexel()
246 } else if (type::Type::IsUint8(mode, num_bits)) { in GetActualValuesFromTexel()
248 } else if (type::Type::IsUint16(mode, num_bits)) { in GetActualValuesFromTexel()
252 } else if (type::Type::IsUint32(mode, num_bits)) { in GetActualValuesFromTexel()
256 } else if (type::Type::IsUint64(mode, num_bits)) { in GetActualValuesFromTexel()
260 } else if (type::Type::IsFloat32(mode, num_bits)) { in GetActualValuesFromTexel()
263 } else if (type::Type::IsFloat64(mode, num_bits)) { in GetActualValuesFromTexel()
266 } else if (type::Type::IsFloat(mode) && num_bits < 32) { in GetActualValuesFromTexel()
268 float16::HexFloatToFloat(actual, static_cast<uint8_t>(num_bits))); in GetActualValuesFromTexel()
273 bit_offset += num_bits; in GetActualValuesFromTexel()
569 uint32_t num_bits = segment.GetNumBits(); in ProbeSSBO() local
570 if (type::Type::IsInt8(mode, num_bits)) { in ProbeSSBO()
572 } else if (type::Type::IsUint8(mode, num_bits)) { in ProbeSSBO()
574 } else if (type::Type::IsInt16(mode, num_bits)) { in ProbeSSBO()
576 } else if (type::Type::IsUint16(mode, num_bits)) { in ProbeSSBO()
578 } else if (type::Type::IsInt32(mode, num_bits)) { in ProbeSSBO()
580 } else if (type::Type::IsUint32(mode, num_bits)) { in ProbeSSBO()
582 } else if (type::Type::IsInt64(mode, num_bits)) { in ProbeSSBO()
584 } else if (type::Type::IsUint64(mode, num_bits)) { in ProbeSSBO()
586 } else if (type::Type::IsFloat16(mode, num_bits)) { in ProbeSSBO()
589 } else if (type::Type::IsFloat32(mode, num_bits)) { in ProbeSSBO()
591 } else if (type::Type::IsFloat64(mode, num_bits)) { in ProbeSSBO()