diff --git a/.pick_status.json b/.pick_status.json index b4233f5cf1d..8490deda4c7 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -1574,7 +1574,7 @@ "description": "v3d: mark FRAG_RESULT_COLOR as output_written on SAND blits FS", "nominated": true, "nomination_type": 2, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": "ee48e81b26e4293e9dae9834b892839dd2f236fa", "notes": null diff --git a/src/gallium/drivers/v3d/v3d_blit.c b/src/gallium/drivers/v3d/v3d_blit.c index e3100b77cd8..7a054d71d9d 100644 --- a/src/gallium/drivers/v3d/v3d_blit.c +++ b/src/gallium/drivers/v3d/v3d_blit.c @@ -690,6 +690,7 @@ v3d_get_sand8_fs(struct pipe_context *pctx, int cpp) nir_variable_create(b.shader, nir_var_shader_out, vec4, "f_color"); color_out->data.location = FRAG_RESULT_COLOR; + b.shader->info.outputs_written |= BITFIELD_BIT(FRAG_RESULT_COLOR); nir_variable *pos_in = nir_variable_create(b.shader, nir_var_shader_in, vec4, "pos"); @@ -998,6 +999,7 @@ v3d_get_sand30_fs(struct pipe_context *pctx) nir_var_shader_out, glsl_uvec4, "f_color"); color_out->data.location = FRAG_RESULT_COLOR; + b.shader->info.outputs_written |= BITFIELD_BIT(FRAG_RESULT_COLOR); nir_variable *pos_in = nir_variable_create(b.shader, nir_var_shader_in, vec4, "pos");