Lines Matching refs:texFormat
676 void getPackInfo (const TextureFormat texFormat,
683 switch (texFormat.type)
773 TextureFormat texFormat,
778 TextureSwizzle readSwizzle = getChannelReadSwizzle(texFormat.order);
779 const TextureChannelClass chanClass = getTextureChannelClass(texFormat.type);
781 DE_ASSERT(getTextureChannelClass(texFormat.type) < 2);
791 const bool isPacked = isPackedType(texFormat.type);
795 getPackInfo(texFormat, bitSizes, bitOffsets, baseTypeBytes);
799 if (texFormat.type == TextureFormat::UNORM_INT_1010102_REV ||
800 texFormat.type == TextureFormat::SNORM_INT_1010102_REV)
812 chanSize = getChannelSize(texFormat.type);
816 const bool isSrgb = isSRGB(texFormat);
887 TextureFormat texFormat,
892 DE_ASSERT(getTextureChannelClass(texFormat.type) == TEXTURECHANNELCLASS_FLOATING_POINT);
894 const TextureSwizzle readSwizzle = getChannelReadSwizzle(texFormat.order);
910 else if (texFormat.type == TextureFormat::FLOAT)
914 else if (texFormat.type == TextureFormat::HALF_FLOAT)
928 TextureFormat texFormat,
933 const TextureChannelClass chanClass = getTextureChannelClass(texFormat.type);
938 convertNormalizedFormat(pixelPtr, texFormat, internalFormat, resultMin, resultMax);
942 convertFloatFormat(pixelPtr, texFormat, internalFormat, resultMin, resultMax);