Mesa (master): ilo: remove unused ilo_shader_get_type()

Chia-I Wu olv at kemper.freedesktop.org
Sun Oct 18 13:36:03 UTC 2015


Module: Mesa
Branch: master
Commit: 6e132f4730a41baa36bf31c1b5f47933d07cee8c
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6e132f4730a41baa36bf31c1b5f47933d07cee8c

Author: Chia-I Wu <olvaffe at gmail.com>
Date:   Fri Oct 16 09:46:25 2015 +0800

ilo: remove unused ilo_shader_get_type()

---

 src/gallium/drivers/ilo/ilo_shader.c |    9 ---------
 src/gallium/drivers/ilo/ilo_shader.h |    3 ---
 2 files changed, 12 deletions(-)

diff --git a/src/gallium/drivers/ilo/ilo_shader.c b/src/gallium/drivers/ilo/ilo_shader.c
index 5f2b010..1ba3edc 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 d9f02a4..afa1efa 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,




More information about the mesa-commit mailing list