mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Resolve depth buffer in pass if supported by driver
This commit is contained in:
parent
ef34c3d534
commit
21ffbecfa9
12 changed files with 152 additions and 37 deletions
|
|
@ -421,7 +421,8 @@ public:
|
|||
// Try to set this bit as much as possible. If you set it, validation doesn't complain
|
||||
// and it works fine on mobile, then go ahead.
|
||||
TEXTURE_USAGE_TRANSIENT_BIT = (1 << 11),
|
||||
TEXTURE_USAGE_MAX_BIT = TEXTURE_USAGE_TRANSIENT_BIT,
|
||||
TEXTURE_USAGE_DEPTH_RESOLVE_ATTACHMENT_BIT = (1 << 12),
|
||||
TEXTURE_USAGE_MAX_BIT = TEXTURE_USAGE_DEPTH_RESOLVE_ATTACHMENT_BIT,
|
||||
};
|
||||
|
||||
struct TextureFormat {
|
||||
|
|
@ -970,6 +971,7 @@ public:
|
|||
SUPPORTS_BUFFER_DEVICE_ADDRESS,
|
||||
SUPPORTS_IMAGE_ATOMIC_32_BIT,
|
||||
SUPPORTS_VULKAN_MEMORY_MODEL,
|
||||
SUPPORTS_FRAMEBUFFER_DEPTH_RESOLVE,
|
||||
};
|
||||
|
||||
enum SubgroupOperations {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue