Lines Matching refs:TextureFormat
63 const tcu::TextureFormat& format)
545 std::string getFormatPrefix (const tcu::TextureFormat& format)
552 std::string getShaderImageType (const tcu::TextureFormat& format, const ImageType imageType, const bool multisample)
589 std::string getShaderImageFormatQualifier (const tcu::TextureFormat& format)
598 case tcu::TextureFormat::R: orderPart = "r"; break;
599 case tcu::TextureFormat::RG: orderPart = "rg"; break;
600 case tcu::TextureFormat::RGB: orderPart = "rgb"; break;
601 case tcu::TextureFormat::RGBA: orderPart = "rgba"; break;
602 case tcu::TextureFormat::sRGBA: orderPart = "rgba"; break;
611 case tcu::TextureFormat::FLOAT: typePart = "32f"; break;
612 case tcu::TextureFormat::HALF_FLOAT: typePart = "16f"; break;
614 case tcu::TextureFormat::UNSIGNED_INT64: typePart = "64ui"; break;
615 case tcu::TextureFormat::UNSIGNED_INT32: typePart = "32ui"; break;
616 case tcu::TextureFormat::USCALED_INT16:
617 case tcu::TextureFormat::UNSIGNED_INT16: typePart = "16ui"; break;
618 case tcu::TextureFormat::USCALED_INT8:
619 case tcu::TextureFormat::UNSIGNED_INT8: typePart = "8ui"; break;
621 case tcu::TextureFormat::SIGNED_INT64: typePart = "64i"; break;
622 case tcu::TextureFormat::SIGNED_INT32: typePart = "32i"; break;
623 case tcu::TextureFormat::SSCALED_INT16:
624 case tcu::TextureFormat::SIGNED_INT16: typePart = "16i"; break;
625 case tcu::TextureFormat::SSCALED_INT8:
626 case tcu::TextureFormat::SIGNED_INT8: typePart = "8i"; break;
628 case tcu::TextureFormat::UNORM_INT16: typePart = "16"; break;
629 case tcu::TextureFormat::UNORM_INT8: typePart = "8"; break;
631 case tcu::TextureFormat::SNORM_INT16: typePart = "16_snorm"; break;
632 case tcu::TextureFormat::SNORM_INT8: typePart = "8_snorm"; break;
656 std::string getGlslSamplerType (const tcu::TextureFormat& format, VkImageViewType type)
745 const tcu::TextureFormat textureFormat = mapVkFormat(format);
769 const tcu::TextureFormat textureFormat = mapVkFormat(format);
793 const tcu::TextureFormat textureFormat = mapVkFormat(format);
795 DE_STATIC_ASSERT(tcu::TextureFormat::CHANNELTYPE_LAST == 48);
799 case tcu::TextureFormat::UNORM_BYTE_44:
800 case tcu::TextureFormat::UNORM_SHORT_565:
801 case tcu::TextureFormat::UNORM_SHORT_555:
802 case tcu::TextureFormat::UNORM_SHORT_4444:
803 case tcu::TextureFormat::UNORM_SHORT_5551:
804 case tcu::TextureFormat::UNORM_SHORT_1555:
805 case tcu::TextureFormat::UNORM_INT_101010:
806 case tcu::TextureFormat::SNORM_INT_1010102_REV:
807 case tcu::TextureFormat::UNORM_INT_1010102_REV:
808 case tcu::TextureFormat::UNSIGNED_BYTE_44:
809 case tcu::TextureFormat::UNSIGNED_SHORT_565:
810 case tcu::TextureFormat::UNSIGNED_SHORT_4444:
811 case tcu::TextureFormat::UNSIGNED_SHORT_5551:
812 case tcu::TextureFormat::SIGNED_INT_1010102_REV:
813 case tcu::TextureFormat::UNSIGNED_INT_1010102_REV:
814 case tcu::TextureFormat::UNSIGNED_INT_11F_11F_10F_REV:
815 case tcu::TextureFormat::UNSIGNED_INT_999_E5_REV:
816 case tcu::TextureFormat::UNSIGNED_INT_16_8_8:
817 case tcu::TextureFormat::UNSIGNED_INT_24_8:
818 case tcu::TextureFormat::UNSIGNED_INT_24_8_REV:
819 case tcu::TextureFormat::SSCALED_INT_1010102_REV:
820 case tcu::TextureFormat::USCALED_INT_1010102_REV:
830 const tcu::TextureFormat textureFormat = mapVkFormat(format);
832 DE_STATIC_ASSERT(tcu::TextureFormat::CHANNELORDER_LAST == 22);
836 case tcu::TextureFormat::ARGB:
837 case tcu::TextureFormat::ABGR:
838 case tcu::TextureFormat::BGR:
839 case tcu::TextureFormat::BGRA:
840 case tcu::TextureFormat::sBGR:
841 case tcu::TextureFormat::sBGRA:
852 DE_STATIC_ASSERT(tcu::TextureFormat::CHANNELORDER_LAST == 22);
854 const tcu::TextureFormat textureFormat = mapVkFormat(format);