mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 22:47:03 +00:00
gl: Clean up format bitcast checks and register D32F type for FORMAT_CLASS16F
- Also hides a dangerous export for vulkan, same as GL
This commit is contained in:
parent
3fa45ff994
commit
ffe00e8619
5 changed files with 19 additions and 6 deletions
|
|
@ -145,8 +145,8 @@ namespace gl
|
|||
if (!slice.src)
|
||||
continue;
|
||||
|
||||
const bool typeless = dst_aspect != slice.src->aspect() ||
|
||||
!formats_are_bitcast_compatible(static_cast<GLenum>(slice.src->get_internal_format()), static_cast<GLenum>(dst_image->get_internal_format()));
|
||||
const bool typeless = !formats_are_bitcast_compatible(slice.src, dst_image);
|
||||
ensure(typeless || dst_aspect == slice.src->aspect());
|
||||
|
||||
std::unique_ptr<gl::texture> tmp;
|
||||
auto src_image = slice.src;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue