Since we fixed the glsl->tgsi conversion we no longer need
this function.
Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
getname.offset;
}
-
-class ir_rvalue *
-_mesa_get_sampler_array_nonconst_index(class ir_dereference *sampler)
-{
- ir_dereference_array *deref_arr = sampler->as_dereference_array();
- if (!deref_arr || deref_arr->array_index->as_constant())
- return NULL;
-
- return deref_arr->array_index;
-}
struct gl_shader_program *shader_program,
const struct gl_program *prog);
-class ir_rvalue *
-_mesa_get_sampler_array_nonconst_index(class ir_dereference *sampler);
-
-
#endif /* SAMPLER_H */