mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 06:40:08 +01:00
lavapipe: be slightly more permissive for bad apps (and cts) with dynrender
this is stupid, but it makes the default color output "write the output" instead of zero, which is still wrong, but at least maybe it's wrong in a way that's useful instead of just being confusing Acked-by: Konstantin Seurer <konstantin.seurer@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24278>
This commit is contained in:
parent
cd3ea02da0
commit
6d3009d758
1 changed files with 1 additions and 0 deletions
|
|
@ -907,6 +907,7 @@ static void handle_graphics_pipeline(struct lvp_pipeline *pipeline,
|
|||
}
|
||||
} else if (ps->rp->color_attachment_count == 0) {
|
||||
memset(&state->blend_state, 0, sizeof(state->blend_state));
|
||||
state->blend_state.rt[0].colormask = 0xf;
|
||||
state->blend_dirty = true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue