mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
zink: also set msrtss stencil
cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37057>
This commit is contained in:
parent
807644b864
commit
817077276a
1 changed files with 2 additions and 0 deletions
|
|
@ -3156,6 +3156,8 @@ begin_rendering(struct zink_context *ctx, bool check_msaa_expand)
|
|||
if (ctx->fb_state.zsbuf.nr_samples && !has_msrtss) {
|
||||
ctx->dynamic_fb.attachments[PIPE_MAX_COLOR_BUFS].resolveImageView = iv;
|
||||
ctx->dynamic_fb.attachments[PIPE_MAX_COLOR_BUFS].resolveImageLayout = res->layout;
|
||||
ctx->dynamic_fb.attachments[PIPE_MAX_COLOR_BUFS+1].resolveImageView = iv;
|
||||
ctx->dynamic_fb.attachments[PIPE_MAX_COLOR_BUFS+1].resolveImageLayout = res->layout;
|
||||
|
||||
iv = zink_create_transient_surface(ctx, &ctx->fb_state.zsbuf, ctx->fb_state.zsbuf.nr_samples)->image_view;
|
||||
struct zink_resource *transient_res = res->transient;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue