Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2421>
uint32_t divisor = ctx->options->key.vs.instance_rate_divisors[location];
Temp start_instance = get_arg(ctx, ctx->args->ac.start_instance);
if (divisor) {
- ctx->needs_instance_id = true;
Temp instance_id = get_arg(ctx, ctx->args->ac.instance_id);
if (divisor != 1) {
Temp divided = bld.tmp(v1);
/* FS inputs */
Temp persp_centroid, linear_centroid;
- /* VS inputs */
- bool needs_instance_id;
-
/* GS inputs */
Temp gs_wave_id;
memset(outinfo->vs_output_param_offset, AC_EXP_PARAM_UNDEFINED,
sizeof(outinfo->vs_output_param_offset));
- ctx->needs_instance_id = ctx->program->info->vs.needs_instance_id;
-
bool export_clip_dists = ctx->options->key.vs_common_out.export_clip_dists;
outinfo->param_exports = 0;