mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 04:30:10 +01:00
aco: remove needs_instance_id
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>
This commit is contained in:
parent
e192e268de
commit
de4ce66f5c
2 changed files with 0 additions and 6 deletions
|
|
@ -3397,7 +3397,6 @@ void visit_load_input(isel_context *ctx, nir_intrinsic_instr *instr)
|
|||
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);
|
||||
|
|
|
|||
|
|
@ -77,9 +77,6 @@ struct isel_context {
|
|||
/* FS inputs */
|
||||
Temp persp_centroid, linear_centroid;
|
||||
|
||||
/* VS inputs */
|
||||
bool needs_instance_id;
|
||||
|
||||
/* GS inputs */
|
||||
Temp gs_wave_id;
|
||||
|
||||
|
|
@ -688,8 +685,6 @@ setup_vs_variables(isel_context *ctx, nir_shader *nir)
|
|||
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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue