mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-22 11:50:36 +02:00
ac/nir: remove useless check in si_llvm_init_export_args()
values can't be NULL because we use ac_build_export_null() now. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
parent
26ab5a4269
commit
c63d8d0284
1 changed files with 0 additions and 3 deletions
|
|
@ -5763,9 +5763,6 @@ si_llvm_init_export_args(struct nir_to_llvm_context *ctx,
|
|||
args->out[2] = LLVMGetUndef(ctx->ac.f32);
|
||||
args->out[3] = LLVMGetUndef(ctx->ac.f32);
|
||||
|
||||
if (!values)
|
||||
return;
|
||||
|
||||
if (ctx->stage == MESA_SHADER_FRAGMENT && target >= V_008DFC_SQ_EXP_MRT) {
|
||||
unsigned index = target - V_008DFC_SQ_EXP_MRT;
|
||||
unsigned col_format = (ctx->options->key.fs.col_format >> (4 * index)) & 0xf;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue