Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5050>
case nir_intrinsic_load_patch_vertices_in:
case nir_intrinsic_load_sample_id:
case nir_intrinsic_load_sample_pos:
+ case nir_intrinsic_load_sample_mask_in:
bld_base->sysval_intrin(bld_base, instr, result);
break;
case nir_intrinsic_load_helper_invocation:
result[i] = lp_build_broadcast_scalar(&bld_base->base, val);
}
break;
+ case nir_intrinsic_load_sample_mask_in:
+ result[0] = bld->system_values.sample_mask_in;
+ break;
}
}
LLVMValueRef vertices_in;
LLVMValueRef sample_id;
LLVMValueRef sample_pos;
+ LLVMValueRef sample_mask_in;
};