r600: fix color export mask
The r600 code (not the eg one) forgot to copy the ps_color_export_mask
in commit 5b14e06d8b
when updating the
pixel state, leading to misrenderings (probably with MRT).
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105262
Tested-by: LoneVVolf <lonewolf@xs4all.nl>
Tested-by: Pavel Vinogradov <public@sourcemage.org>
This commit is contained in:
@@ -2525,6 +2525,7 @@ void r600_update_ps_state(struct pipe_context *ctx, struct r600_pipe_shader *sha
|
||||
}
|
||||
|
||||
shader->nr_ps_color_outputs = num_cout;
|
||||
shader->ps_color_export_mask = rshader->ps_color_export_mask;
|
||||
|
||||
spi_ps_in_control_0 = S_0286CC_NUM_INTERP(rshader->ninput) |
|
||||
S_0286CC_PERSP_GRADIENT_ENA(1)|
|
||||
|
Reference in New Issue
Block a user