mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-07 15:31:26 +12:00
rsx: Separate uint depth formats from float depth formats
This commit is contained in:
parent
faaf28b41d
commit
a5ac5a9861
19 changed files with 161 additions and 125 deletions
|
@ -631,12 +631,11 @@ namespace gl
|
|||
|
||||
switch (const auto fmt = dst->get_internal_format())
|
||||
{
|
||||
case texture::internal_format::depth:
|
||||
case texture::internal_format::depth16:
|
||||
case texture::internal_format::depth32f:
|
||||
clear_mask = GL_DEPTH_BUFFER_BIT;
|
||||
attachment = GL_DEPTH_ATTACHMENT;
|
||||
break;
|
||||
case texture::internal_format::depth_stencil:
|
||||
case texture::internal_format::depth24_stencil8:
|
||||
case texture::internal_format::depth32f_stencil8:
|
||||
clear_mask = GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue