mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-15 11:40:39 +01:00
panfrost: Ensure we upload at least 1 blend RT
Otherwise we'll get memory junk. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
This commit is contained in:
parent
54438267c3
commit
de2efd5ea7
1 changed files with 1 additions and 1 deletions
|
|
@ -1081,7 +1081,7 @@ panfrost_emit_for_draw(struct panfrost_context *ctx, bool with_vertex_data)
|
|||
|
||||
struct midgard_blend_rt rts[4];
|
||||
|
||||
for (unsigned i = 0; i < ctx->pipe_framebuffer.nr_cbufs; ++i) {
|
||||
for (unsigned i = 0; i < 1; ++i) {
|
||||
bool is_srgb =
|
||||
(ctx->pipe_framebuffer.nr_cbufs > i) &&
|
||||
(ctx->pipe_framebuffer.cbufs[i]) &&
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue