Skip to content
Snippets Groups Projects
Unverified Commit 40f83fee authored by bunnei's avatar bunnei Committed by GitHub
Browse files

Merge pull request #1077 from bunnei/rgba16u

gl_rasterizer_cache: Add RGBA16U to PixelFormatFromTextureFormat.
parents 0bca5743 8599e1e4
No related branches found
No related tags found
No related merge requests found
......@@ -372,7 +372,15 @@ struct SurfaceParams {
static_cast<u32>(component_type));
UNREACHABLE();
case Tegra::Texture::TextureFormat::R16_G16_B16_A16:
return PixelFormat::RGBA16F;
switch (component_type) {
case Tegra::Texture::ComponentType::UNORM:
return PixelFormat::RGBA16U;
case Tegra::Texture::ComponentType::FLOAT:
return PixelFormat::RGBA16F;
}
LOG_CRITICAL(HW_GPU, "Unimplemented component_type={}",
static_cast<u32>(component_type));
UNREACHABLE();
case Tegra::Texture::TextureFormat::BF10GF11RF11:
switch (component_type) {
case Tegra::Texture::ComponentType::FLOAT:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment