|
|
@ -39,11 +39,8 @@ static Shader::TextureType ConvertType(const Tegra::Texture::TICEntry& entry) {
|
|
|
|
return Shader::TextureType::Color1D;
|
|
|
|
return Shader::TextureType::Color1D;
|
|
|
|
case Tegra::Texture::TextureType::Texture2D:
|
|
|
|
case Tegra::Texture::TextureType::Texture2D:
|
|
|
|
case Tegra::Texture::TextureType::Texture2DNoMipmap:
|
|
|
|
case Tegra::Texture::TextureType::Texture2DNoMipmap:
|
|
|
|
if (entry.normalized_coords) {
|
|
|
|
return entry.normalized_coords ? Shader::TextureType::Color2D
|
|
|
|
return Shader::TextureType::Color2D;
|
|
|
|
: Shader::TextureType::Color2DRect;
|
|
|
|
} else {
|
|
|
|
|
|
|
|
return Shader::TextureType::Color2DRect;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
case Tegra::Texture::TextureType::Texture3D:
|
|
|
|
case Tegra::Texture::TextureType::Texture3D:
|
|
|
|
return Shader::TextureType::Color3D;
|
|
|
|
return Shader::TextureType::Color3D;
|
|
|
|
case Tegra::Texture::TextureType::TextureCubemap:
|
|
|
|
case Tegra::Texture::TextureType::TextureCubemap:
|
|
|
|