mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-16 11:48:36 +12:00
gl: Add readback/writeback config for format GL_R16
This commit is contained in:
parent
c072c511a1
commit
956270d9be
2 changed files with 4 additions and 1 deletions
|
@ -100,6 +100,8 @@ namespace gl
|
|||
return std::make_tuple(GL_RGBA, GL_UNSIGNED_BYTE, false);
|
||||
case texture::internal_format::r8:
|
||||
return std::make_tuple(GL_RED, GL_UNSIGNED_BYTE, false);
|
||||
case texture::internal_format::r16:
|
||||
return std::make_tuple(GL_RED, GL_UNSIGNED_SHORT, true);
|
||||
case texture::internal_format::r32f:
|
||||
return std::make_tuple(GL_RED, GL_FLOAT, true);
|
||||
case texture::internal_format::r5g6b5:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue