diff options
author | Samuel Pitoiset <[email protected]> | 2018-02-07 19:09:13 +0100 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2018-02-08 22:11:44 +0100 |
commit | 26ab5a42695b579d255827c0219775fecbbd4d34 (patch) | |
tree | b1baf663e42bd9868d54bb00be5f373ec1b7bb34 /src | |
parent | bd9f7b763558f9cf1a39a732cb7e5a501b6f024a (diff) |
ac/nir: use ac_build_export_null()
The number of enabled channels should be 0 when exporting null.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/amd/common/ac_nir_to_llvm.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/amd/common/ac_nir_to_llvm.c b/src/amd/common/ac_nir_to_llvm.c index 72105c21e42..ca9d318c8dd 100644 --- a/src/amd/common/ac_nir_to_llvm.c +++ b/src/amd/common/ac_nir_to_llvm.c @@ -6484,8 +6484,7 @@ handle_fs_outputs_post(struct nir_to_llvm_context *ctx) if (depth || stencil || samplemask) radv_export_mrt_z(ctx, depth, stencil, samplemask); else if (!index) { - si_export_mrt_color(ctx, NULL, V_008DFC_SQ_EXP_NULL, true, &color_args[0]); - ac_build_export(&ctx->ac, &color_args[0]); + ac_build_export_null(&ctx->ac); } } |