mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 08:51:28 +12:00
gl: Add support for 4444 typeless texture
This commit is contained in:
parent
9f854dba98
commit
7f85b18b46
2 changed files with 3 additions and 0 deletions
|
@ -112,6 +112,8 @@ namespace gl
|
|||
return std::make_tuple(GL_RG, GL_UNSIGNED_SHORT, true);
|
||||
case texture::internal_format::rg16f:
|
||||
return std::make_tuple(GL_RG, GL_HALF_FLOAT, true);
|
||||
case texture::internal_format::rgba4:
|
||||
return std::make_tuple(GL_BGRA, GL_UNSIGNED_SHORT_4_4_4_4, false);
|
||||
case texture::internal_format::rgba8:
|
||||
return std::make_tuple(GL_BGRA, GL_UNSIGNED_INT_8_8_8_8, false);
|
||||
case texture::internal_format::rgba16f:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue