Fixup special case of cluster render
(cherry picked from commit e9b4d25f20
)
This commit is contained in:
parent
ca6fba87de
commit
d3d5531658
@ -58,6 +58,7 @@ ClusterBuilderSharedDataRD::ClusterBuilderSharedDataRD() {
|
|||||||
afs.push_back(RD::AttachmentFormat());
|
afs.push_back(RD::AttachmentFormat());
|
||||||
afs.write[0].usage_flags = RD::TEXTURE_USAGE_COLOR_ATTACHMENT_BIT;
|
afs.write[0].usage_flags = RD::TEXTURE_USAGE_COLOR_ATTACHMENT_BIT;
|
||||||
fb_format = RD::get_singleton()->framebuffer_format_create(afs);
|
fb_format = RD::get_singleton()->framebuffer_format_create(afs);
|
||||||
|
blend_state = RD::PipelineColorBlendState::create_blend();
|
||||||
defines = "\n#define USE_ATTACHMENT\n";
|
defines = "\n#define USE_ATTACHMENT\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user