radv: Lower input attachments in NIR.
v2 (Connor) - Fix warning in release mode using MAYBE_UNUSED Reviewed-by: Connor Abbott <cwabbott0@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:

committed by
Connor Abbott

parent
c65e880a65
commit
e41e932e57
@@ -2478,8 +2478,7 @@ handle_fs_inputs(struct radv_shader_context *ctx,
|
||||
|
||||
unsigned index = 0;
|
||||
|
||||
if (ctx->shader_info->info.ps.uses_input_attachments ||
|
||||
ctx->shader_info->info.needs_multiview_view_index ||
|
||||
if (ctx->shader_info->info.needs_multiview_view_index ||
|
||||
ctx->shader_info->info.ps.layer_input) {
|
||||
ctx->input_mask |= 1ull << VARYING_SLOT_LAYER;
|
||||
ctx->inputs[ac_llvm_reg_index_soa(VARYING_SLOT_LAYER, 0)] = LLVMGetUndef(ctx->ac.i32);
|
||||
|
Reference in New Issue
Block a user