vulkan: add support for blend buffers
This commit is contained in:
parent
1220539a41
commit
cb9da22ec2
20 changed files with 638 additions and 78 deletions
|
|
@ -460,12 +460,14 @@ impl VulkanRenderer {
|
|||
ty: VulkanImageMemory::Internal(shm),
|
||||
bridge: None,
|
||||
shader_read_only_optimal_descriptor: self.sampler_read_only_descriptor(view),
|
||||
sampled_image_descriptor: Box::new([]),
|
||||
descriptor_buffer_version: Cell::new(0),
|
||||
descriptor_buffer_offset: Cell::new(0),
|
||||
execution_version: Cell::new(0),
|
||||
});
|
||||
let shm = match &img.ty {
|
||||
VulkanImageMemory::DmaBuf(_) => unreachable!(),
|
||||
VulkanImageMemory::Blend(_) => unreachable!(),
|
||||
VulkanImageMemory::Internal(s) => s,
|
||||
};
|
||||
if data.is_not_empty() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue