ilo: remove unused ilo_shader_get_type()

This commit is contained in:
Chia-I Wu 2015-10-16 09:46:25 +08:00
parent 29a0f7479d
commit 6e132f4730
2 changed files with 0 additions and 12 deletions

View file

@ -986,15 +986,6 @@ ilo_shader_destroy(struct ilo_shader_state *shader)
FREE(shader);
}
/**
* Return the type (PIPE_SHADER_x) of the shader.
*/
int
ilo_shader_get_type(const struct ilo_shader_state *shader)
{
return shader->info.type;
}
/**
* Select a kernel for the given context. This will compile a new kernel if
* none of the existing kernels work with the context.

View file

@ -149,9 +149,6 @@ ilo_shader_create_cs(const struct ilo_dev *dev,
void
ilo_shader_destroy(struct ilo_shader_state *shader);
int
ilo_shader_get_type(const struct ilo_shader_state *shader);
bool
ilo_shader_select_kernel(struct ilo_shader_state *shader,
const struct ilo_state_vector *vec,