projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
radv/gfx9: reduce the number of input VGPRs for the GS stage
[mesa.git]
/
src
/
amd
/
vulkan
/
radv_meta_fast_clear.c
diff --git
a/src/amd/vulkan/radv_meta_fast_clear.c
b/src/amd/vulkan/radv_meta_fast_clear.c
index 98e8f6ac18a2e558e872207d6c076f6b2a713cb3..fdeeaeedbfb55adfabae42d7fb9884e6799e5ed6 100644
(file)
--- a/
src/amd/vulkan/radv_meta_fast_clear.c
+++ b/
src/amd/vulkan/radv_meta_fast_clear.c
@@
-194,8
+194,8
@@
create_pass(struct radv_device *device)
attachment.samples = 1;
attachment.loadOp = VK_ATTACHMENT_LOAD_OP_LOAD;
attachment.storeOp = VK_ATTACHMENT_STORE_OP_STORE;
attachment.samples = 1;
attachment.loadOp = VK_ATTACHMENT_LOAD_OP_LOAD;
attachment.storeOp = VK_ATTACHMENT_STORE_OP_STORE;
- attachment.initialLayout = VK_IMAGE_LAYOUT_
GENER
AL;
- attachment.finalLayout = VK_IMAGE_LAYOUT_
GENER
AL;
+ attachment.initialLayout = VK_IMAGE_LAYOUT_
TRANSFER_DST_OPTIM
AL;
+ attachment.finalLayout = VK_IMAGE_LAYOUT_
TRANSFER_DST_OPTIM
AL;
result = radv_CreateRenderPass(device_h,
&(VkRenderPassCreateInfo) {
result = radv_CreateRenderPass(device_h,
&(VkRenderPassCreateInfo) {
@@
-210,7
+210,7
@@
create_pass(struct radv_device *device)
.pColorAttachments = (VkAttachmentReference[]) {
{
.attachment = 0,
.pColorAttachments = (VkAttachmentReference[]) {
{
.attachment = 0,
- .layout = VK_IMAGE_LAYOUT_
GENER
AL,
+ .layout = VK_IMAGE_LAYOUT_
TRANSFER_DST_OPTIM
AL,
},
},
.pResolveAttachments = NULL,
},
},
.pResolveAttachments = NULL,