[vulkan] Clear the color attachments

This means color, emission, and translucent. Fixes the HOM issues on my
VersaPro (but halves the frame-rate... definitely need to bring back the
forward renderer as an option).
This commit is contained in:
Bill Currie 2021-12-17 14:51:16 +09:00
parent db6c76d583
commit 0b99ff104d

View file

@ -253,7 +253,7 @@
{
format = $properties.images.color.format;
samples = 1;
loadOp = dont_care;
loadOp = clear;
storeOp = dont_care;
stencilLoadOp = dont_care;
stencilStoreOp = dont_care;
@ -263,7 +263,7 @@
{
format = $properties.images.emission.format;
samples = 1;
loadOp = dont_care;
loadOp = clear;
storeOp = dont_care;
stencilLoadOp = dont_care;
stencilStoreOp = dont_care;
@ -303,7 +303,7 @@
{
format = $properties.images.translucent.format;
samples = 1;
loadOp = dont_care;
loadOp = clear;
storeOp = dont_care;
stencilLoadOp = dont_care;
stencilStoreOp = dont_care;