We were using this briefly in the i965 driver to trigger recompiles but we
haven't been using it since we switched to the NIR y-transform lowering
pass.
Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
intrin->intrinsic == nir_intrinsic_interp_var_at_sample)
intrin->src[0] = nir_src_for_ssa(evaluate_rvalue(ir->operands[1]));
- if (intrin->intrinsic == nir_intrinsic_interp_var_at_offset)
- shader->info.uses_interp_var_at_offset = true;
-
unsigned bit_size = glsl_get_bit_size(deref->type);
add_instr(&intrin->instr, deref->type->vector_elements, bit_size);
/* Whether or not this shader ever uses textureGather() */
bool uses_texture_gather;
- /** Whether or not this shader uses nir_intrinsic_interp_var_at_offset */
- bool uses_interp_var_at_offset;
-
/* Whether or not this shader uses the gl_ClipDistance output */
bool uses_clip_distance_out;
shader->info.gs.uses_end_primitive = 1;
break;
- case nir_intrinsic_interp_var_at_offset:
- shader->info.uses_interp_var_at_offset = 1;
- break;
-
default:
break;
}