Home | History | Annotate | Download | only in api

Lines Matching defs:bitDepth

268 			const int	bitDepth	= getTextureFormatBitDepth(format).x();
270 const float threshold = 2.0f / (float)((1 << bitDepth) - 1);
348 const IVec4 bitDepth (getTextureFormatBitDepth(format));
355 const Vec4 threshold (bitDepth[0] > 0 ? 1.0f / ((float)(1 << (bitDepth[0] - modifier)) - 1.0f) : 1.0f,
356 bitDepth[1] > 0 ? 1.0f / ((float)(1 << (bitDepth[1] - modifier)) - 1.0f) : 1.0f,
357 bitDepth[2] > 0 ? 1.0f / ((float)(1 << (bitDepth[2] - modifier)) - 1.0f) : 1.0f,
358 bitDepth[3] > 0 ? 1.0f / ((float)(1 << (bitDepth[3] - modifier)) - 1.0f) : 1.0f);