Attempt to fix input attachment
This commit is contained in:
parent
a6004c0824
commit
495892cfa8
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ impl CustomTarget {
|
||||||
VK_ATTACHMENT_LOAD_OP_DONT_CARE,
|
VK_ATTACHMENT_LOAD_OP_DONT_CARE,
|
||||||
VK_ATTACHMENT_STORE_OP_DONT_CARE,
|
VK_ATTACHMENT_STORE_OP_DONT_CARE,
|
||||||
VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL,
|
VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL,
|
||||||
if self.attach_sampler || self.use_as_input {
|
if self.attach_sampler {
|
||||||
VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL
|
VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL
|
||||||
} else {
|
} else {
|
||||||
VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL
|
VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL
|
||||||
|
|
Loading…
Reference in a new issue