|
|
@ -101,6 +101,7 @@ static constexpr std::array<FormatTuple, SurfaceParams::MaxPixelFormat> tex_form
|
|
|
|
{GL_R8, GL_RED, GL_UNSIGNED_BYTE, ComponentType::UNorm, false}, // R8
|
|
|
|
{GL_R8, GL_RED, GL_UNSIGNED_BYTE, ComponentType::UNorm, false}, // R8
|
|
|
|
{GL_R8UI, GL_RED_INTEGER, GL_UNSIGNED_BYTE, ComponentType::UInt, false}, // R8UI
|
|
|
|
{GL_R8UI, GL_RED_INTEGER, GL_UNSIGNED_BYTE, ComponentType::UInt, false}, // R8UI
|
|
|
|
{GL_RGBA16F, GL_RGBA, GL_HALF_FLOAT, ComponentType::Float, false}, // RGBA16F
|
|
|
|
{GL_RGBA16F, GL_RGBA, GL_HALF_FLOAT, ComponentType::Float, false}, // RGBA16F
|
|
|
|
|
|
|
|
{GL_RGBA16, GL_RGBA, GL_UNSIGNED_SHORT, ComponentType::UNorm, false}, // RGBA16U
|
|
|
|
{GL_RGBA16UI, GL_RGBA, GL_UNSIGNED_SHORT, ComponentType::UInt, false}, // RGBA16UI
|
|
|
|
{GL_RGBA16UI, GL_RGBA, GL_UNSIGNED_SHORT, ComponentType::UInt, false}, // RGBA16UI
|
|
|
|
{GL_R11F_G11F_B10F, GL_RGB, GL_UNSIGNED_INT_10F_11F_11F_REV, ComponentType::Float,
|
|
|
|
{GL_R11F_G11F_B10F, GL_RGB, GL_UNSIGNED_INT_10F_11F_11F_REV, ComponentType::Float,
|
|
|
|
false}, // R11FG11FB10F
|
|
|
|
false}, // R11FG11FB10F
|
|
|
@ -247,6 +248,7 @@ static constexpr std::array<void (*)(u32, u32, u32, std::vector<u8>&, Tegra::GPU
|
|
|
|
MortonCopy<true, PixelFormat::R8>,
|
|
|
|
MortonCopy<true, PixelFormat::R8>,
|
|
|
|
MortonCopy<true, PixelFormat::R8UI>,
|
|
|
|
MortonCopy<true, PixelFormat::R8UI>,
|
|
|
|
MortonCopy<true, PixelFormat::RGBA16F>,
|
|
|
|
MortonCopy<true, PixelFormat::RGBA16F>,
|
|
|
|
|
|
|
|
MortonCopy<true, PixelFormat::RGBA16U>,
|
|
|
|
MortonCopy<true, PixelFormat::RGBA16UI>,
|
|
|
|
MortonCopy<true, PixelFormat::RGBA16UI>,
|
|
|
|
MortonCopy<true, PixelFormat::R11FG11FB10F>,
|
|
|
|
MortonCopy<true, PixelFormat::R11FG11FB10F>,
|
|
|
|
MortonCopy<true, PixelFormat::RGBA32UI>,
|
|
|
|
MortonCopy<true, PixelFormat::RGBA32UI>,
|
|
|
@ -299,6 +301,7 @@ static constexpr std::array<void (*)(u32, u32, u32, std::vector<u8>&, Tegra::GPU
|
|
|
|
MortonCopy<false, PixelFormat::R8>,
|
|
|
|
MortonCopy<false, PixelFormat::R8>,
|
|
|
|
MortonCopy<false, PixelFormat::R8UI>,
|
|
|
|
MortonCopy<false, PixelFormat::R8UI>,
|
|
|
|
MortonCopy<false, PixelFormat::RGBA16F>,
|
|
|
|
MortonCopy<false, PixelFormat::RGBA16F>,
|
|
|
|
|
|
|
|
MortonCopy<false, PixelFormat::RGBA16U>,
|
|
|
|
MortonCopy<false, PixelFormat::RGBA16UI>,
|
|
|
|
MortonCopy<false, PixelFormat::RGBA16UI>,
|
|
|
|
MortonCopy<false, PixelFormat::R11FG11FB10F>,
|
|
|
|
MortonCopy<false, PixelFormat::R11FG11FB10F>,
|
|
|
|
MortonCopy<false, PixelFormat::RGBA32UI>,
|
|
|
|
MortonCopy<false, PixelFormat::RGBA32UI>,
|
|
|
|