mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 04:20:08 +01: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>
This commit is contained in:
parent
751407a59a
commit
2630a89b72
1 changed files with 2 additions and 1 deletions
|
|
@ -2798,7 +2798,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