mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
zink: don't append msrtss to dynamic render if not supported
cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24309>
(cherry picked from commit 2630a89b72)
This commit is contained in:
parent
1d3b7bcc72
commit
c98f0701e0
2 changed files with 3 additions and 2 deletions
|
|
@ -859,7 +859,7 @@
|
|||
"description": "zink: don't append msrtss to dynamic render if not supported",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null
|
||||
},
|
||||
|
|
|
|||
|
|
@ -2790,7 +2790,8 @@ begin_rendering(struct zink_context *ctx)
|
|||
ctx->gfx_pipeline_state.rast_samples + 1,
|
||||
};
|
||||
|
||||
ctx->dynamic_fb.info.pNext = ctx->transient_attachments ? &msrtss : NULL;
|
||||
if (zink_screen(ctx->base.screen)->info.have_EXT_multisampled_render_to_single_sampled)
|
||||
ctx->dynamic_fb.info.pNext = ctx->transient_attachments ? &msrtss : NULL;
|
||||
assert(!ctx->transient_attachments || msrtss.rasterizationSamples != VK_SAMPLE_COUNT_1_BIT);
|
||||
VKCTX(CmdBeginRendering)(ctx->batch.state->cmdbuf, &ctx->dynamic_fb.info);
|
||||
ctx->batch.in_rp = true;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue