mesa: drop unused nonconst sampler functions.

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>
This commit is contained in:
Dave Airlie 2016-02-05 13:34:29 +10:00 committed by Dave Airlie
parent bb8bbe34e3
commit 90bbe3d781
2 changed files with 0 additions and 14 deletions

View file

@ -132,13 +132,3 @@ _mesa_get_sampler_uniform_value(class ir_dereference *sampler,
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;
}

View file

@ -32,8 +32,4 @@ _mesa_get_sampler_uniform_value(class ir_dereference *sampler,
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 */