mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
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:
parent
bb8bbe34e3
commit
90bbe3d781
2 changed files with 0 additions and 14 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue