radeonsi/gfx11: export alpha through mrtz for alpha-to-coverage if mrtz is there
If both mrtz and alpha-to-coverage are enabled, the alpha channel must be exported through mrtz. Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16328>
This commit is contained in:

committed by
Marge Bot

parent
167b378377
commit
12a606c1bd
@@ -1775,7 +1775,7 @@ radv_export_mrt_z(struct radv_shader_context *ctx, LLVMValueRef depth, LLVMValue
|
||||
{
|
||||
struct ac_export_args args;
|
||||
|
||||
ac_export_mrt_z(&ctx->ac, depth, stencil, samplemask, true, &args);
|
||||
ac_export_mrt_z(&ctx->ac, depth, stencil, samplemask, NULL, true, &args);
|
||||
|
||||
ac_build_export(&ctx->ac, &args);
|
||||
}
|
||||
|
Reference in New Issue
Block a user