Lines Matching refs:range10
181 const deUint32 range10 = (deUint32)((1ull << 10)-1); in readUnorm2101010RevOrder() local
187 dst[Order::T0] = float((aligned >> 0) & ((1 << 10) - 1)) / float(range10); in readUnorm2101010RevOrder()
188 if (size >= 2) dst[Order::T1] = float((aligned >> 10) & ((1 << 10) - 1)) / float(range10); in readUnorm2101010RevOrder()
189 if (size >= 3) dst[Order::T2] = float((aligned >> 20) & ((1 << 10) - 1)) / float(range10); in readUnorm2101010RevOrder()
197 const deUint32 range10 = (deUint32)((1ull << (10-1))-1); in readSnorm2101010RevClampOrder() local
203 …r::T0] = de::max(-1.0f, float(extendSign<10>((aligned >> 0) & ((1 << 10) - 1))) / float(range10)); in readSnorm2101010RevClampOrder()
204 …r::T1] = de::max(-1.0f, float(extendSign<10>((aligned >> 10) & ((1 << 10) - 1))) / float(range10)); in readSnorm2101010RevClampOrder()
205 …r::T2] = de::max(-1.0f, float(extendSign<10>((aligned >> 20) & ((1 << 10) - 1))) / float(range10)); in readSnorm2101010RevClampOrder()
213 const deUint32 range10 = (deUint32)((1ull << 10)-1); in readSnorm2101010RevScaleOrder() local
219 …r::T0] = (float(extendSign<10>((aligned >> 0) & ((1 << 10) - 1))) * 2.0f + 1.0f) / float(range10); in readSnorm2101010RevScaleOrder()
220 …r::T1] = (float(extendSign<10>((aligned >> 10) & ((1 << 10) - 1))) * 2.0f + 1.0f) / float(range10); in readSnorm2101010RevScaleOrder()
221 …r::T2] = (float(extendSign<10>((aligned >> 20) & ((1 << 10) - 1))) * 2.0f + 1.0f) / float(range10); in readSnorm2101010RevScaleOrder()