summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNanley Chery <nanley.g.chery@intel.com>2017-06-06 16:36:37 -0700
committerNanley Chery <nanley.g.chery@intel.com>2017-06-06 16:42:58 -0700
commit3074cd4260590ec2639fd4edf20ff71877b594a2 (patch)
tree6ca9d0c28b0d13309a8b5e250d05492bac9748a9
parent4d73e835f9300b177e97fda46a51fe340d088741 (diff)
qonos: Set the correct initial attachment layout
Most tests don't perform a transition from the UNDEFINED layout. Make this happen automatically by changing the default attachment parameters.
-rw-r--r--include/qonos/qonos.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/qonos/qonos.h b/include/qonos/qonos.h
index ef9ef19..5d25ecc 100644
--- a/include/qonos/qonos.h
+++ b/include/qonos/qonos.h
@@ -222,7 +222,7 @@ typedef struct QoShaderModuleCreateInfo_ {
.samples = VK_SAMPLE_COUNT_1_BIT, \
.loadOp = VK_ATTACHMENT_LOAD_OP_LOAD, \
.storeOp = VK_ATTACHMENT_STORE_OP_STORE, \
- .initialLayout = VK_IMAGE_LAYOUT_GENERAL, \
+ .initialLayout = VK_IMAGE_LAYOUT_UNDEFINED, \
.finalLayout = VK_IMAGE_LAYOUT_GENERAL
#define QO_SUBPASS_DESCRIPTION_DEFAULTS \