diff --git a/src/xenia/gpu/gl4/texture_cache.cc b/src/xenia/gpu/gl4/texture_cache.cc index 25e8a1197..7a8744185 100644 --- a/src/xenia/gpu/gl4/texture_cache.cc +++ b/src/xenia/gpu/gl4/texture_cache.cc @@ -88,10 +88,9 @@ static const TextureConfig texture_configs[64] = { {TextureFormat::k_16_FLOAT, GL_R16F, GL_RED, GL_HALF_FLOAT}, {TextureFormat::k_16_16_FLOAT, GL_RG16F, GL_RG, GL_HALF_FLOAT}, {TextureFormat::k_16_16_16_16_FLOAT, GL_RGBA16F, GL_RGBA, GL_HALF_FLOAT}, - {TextureFormat::k_32, GL_INVALID_ENUM, GL_INVALID_ENUM, GL_INVALID_ENUM}, - {TextureFormat::k_32_32, GL_INVALID_ENUM, GL_INVALID_ENUM, GL_INVALID_ENUM}, - {TextureFormat::k_32_32_32_32, GL_INVALID_ENUM, GL_INVALID_ENUM, - GL_INVALID_ENUM}, + {TextureFormat::k_32, GL_R32, GL_RED, GL_UNSIGNED_INT}, + {TextureFormat::k_32_32, GL_RG32, GL_RG, GL_UNSIGNED_INT}, + {TextureFormat::k_32_32_32_32, GL_RGBA32, GL_RGBA, GL_UNSIGNED_INT}, {TextureFormat::k_32_FLOAT, GL_R32F, GL_RED, GL_FLOAT}, {TextureFormat::k_32_32_FLOAT, GL_RG32F, GL_RG, GL_FLOAT}, {TextureFormat::k_32_32_32_32_FLOAT, GL_RGBA32F, GL_RGBA, GL_FLOAT}, @@ -103,14 +102,12 @@ static const TextureConfig texture_configs[64] = { GL_INVALID_ENUM}, {TextureFormat::k_16_16_MPEG, GL_INVALID_ENUM, GL_INVALID_ENUM, GL_INVALID_ENUM}, - {TextureFormat::k_8_INTERLACED, GL_INVALID_ENUM, GL_INVALID_ENUM, - GL_INVALID_ENUM}, + {TextureFormat::k_8_INTERLACED, GL_R8I, GL_RED, GL_UNSIGNED_BYTE}, {TextureFormat::k_32_AS_8_INTERLACED, GL_INVALID_ENUM, GL_INVALID_ENUM, GL_INVALID_ENUM}, {TextureFormat::k_32_AS_8_8_INTERLACED, GL_INVALID_ENUM, GL_INVALID_ENUM, GL_INVALID_ENUM}, - {TextureFormat::k_16_INTERLACED, GL_INVALID_ENUM, GL_INVALID_ENUM, - GL_INVALID_ENUM}, + {TextureFormat::k_16_INTERLACED, GL_R16I, GL_RED, GL_UNSIGNED_SHORT}, {TextureFormat::k_16_MPEG_INTERLACED, GL_INVALID_ENUM, GL_INVALID_ENUM, GL_INVALID_ENUM}, {TextureFormat::k_16_16_MPEG_INTERLACED, GL_INVALID_ENUM, GL_INVALID_ENUM,