mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-11-22 06:45:23 +00:00
Fix black screen on some devices in interactive examples (#2082)
This commit is contained in:
parent
9220321e06
commit
facee332ec
@ -57,10 +57,7 @@ fn main() {
|
||||
primary_window_renderer.add_additional_image_view(
|
||||
render_target_id,
|
||||
DEFAULT_IMAGE_FORMAT,
|
||||
ImageUsage::SAMPLED
|
||||
| ImageUsage::STORAGE
|
||||
| ImageUsage::COLOR_ATTACHMENT
|
||||
| ImageUsage::TRANSFER_DST,
|
||||
ImageUsage::SAMPLED | ImageUsage::STORAGE | ImageUsage::TRANSFER_DST,
|
||||
);
|
||||
|
||||
// Create app to hold the logic of our fractal explorer
|
||||
|
@ -84,10 +84,7 @@ impl GameOfLifeComputePipeline {
|
||||
compute_queue.clone(),
|
||||
size,
|
||||
Format::R8G8B8A8_UNORM,
|
||||
ImageUsage::SAMPLED
|
||||
| ImageUsage::STORAGE
|
||||
| ImageUsage::COLOR_ATTACHMENT
|
||||
| ImageUsage::TRANSFER_DST,
|
||||
ImageUsage::SAMPLED | ImageUsage::STORAGE | ImageUsage::TRANSFER_DST,
|
||||
)
|
||||
.unwrap();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user