ilo: remove unused ilo_shader_get_type()
authorChia-I Wu <olvaffe@gmail.com>
Fri, 16 Oct 2015 01:46:25 +0000 (09:46 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Sun, 18 Oct 2015 13:04:52 +0000 (21:04 +0800)
src/gallium/drivers/ilo/ilo_shader.c
src/gallium/drivers/ilo/ilo_shader.h

index 5f2b010..1ba3edc 100644 (file)
@@ -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.
  *
index d9f02a4..afa1efa 100644 (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,