diff options
author | Chia-I Wu <[email protected]> | 2015-10-16 09:46:25 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2015-10-18 21:04:52 +0800 |
commit | 6e132f4730a41baa36bf31c1b5f47933d07cee8c (patch) | |
tree | 68ed7c3e45d1d6208ec8aa5c8cb298e0dcd63940 /src/gallium/drivers/ilo | |
parent | 29a0f7479dd09ca60bed084fd6e5f736a6340cb5 (diff) |
ilo: remove unused ilo_shader_get_type()
Diffstat (limited to 'src/gallium/drivers/ilo')
-rw-r--r-- | src/gallium/drivers/ilo/ilo_shader.c | 9 | ||||
-rw-r--r-- | src/gallium/drivers/ilo/ilo_shader.h | 3 |
2 files changed, 0 insertions, 12 deletions
diff --git a/src/gallium/drivers/ilo/ilo_shader.c b/src/gallium/drivers/ilo/ilo_shader.c index 5f2b01017e2..1ba3edce4ae 100644 --- a/src/gallium/drivers/ilo/ilo_shader.c +++ b/src/gallium/drivers/ilo/ilo_shader.c @@ -987,15 +987,6 @@ ilo_shader_destroy(struct ilo_shader_state *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. * diff --git a/src/gallium/drivers/ilo/ilo_shader.h b/src/gallium/drivers/ilo/ilo_shader.h index d9f02a4746a..afa1efa718d 100644 --- a/src/gallium/drivers/ilo/ilo_shader.h +++ b/src/gallium/drivers/ilo/ilo_shader.h @@ -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, |