mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-28 08:13:05 +00:00
Support reverse RGBA16F render targets
This commit is contained in:
1 parent
dd58deae15
commit
0abe03af94
13 files changed
+245
-16
No files matched your search
@@ -82,10 +82,10 @@ PipelineCache::GraphicsPipeline* PipelineCache::CreateGraphicsPipeline(
|
||||
const HW::BlendColor& bclr = ctx->GetBlendColor();
|
||||
uint32_t color_mask[RENDER_COLOR_ATTACHMENTS_MAX] = {};
|
||||
for (uint32_t i = 0; i < color_count; i++) {
|
||||
color_mask[i] =
|
||||
(colors[i].vulkan_buffer != nullptr
|
||||
? render_target_mask_slot(ctx->GetRenderTargetMask(), colors[i].target_slot)
|
||||
: 0);
|
||||
color_mask[i] = (colors[i].vulkan_buffer != nullptr
|
||||
? colors[i].export_mapping.ApplyMask(render_target_mask_slot(
|
||||
ctx->GetRenderTargetMask(), colors[i].target_slot))
|
||||
: 0);
|
||||
}
|
||||
const HW::ModeControl& mc = ctx->GetModeControl();
|
||||
|
||||
|
||||
Reference in new issue
Block a user