aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_shader.h
diff options
context:
space:
mode:
authorCourtney Goeltzenleuchter <[email protected]>2013-05-28 09:54:43 -0600
committerChia-I Wu <[email protected]>2013-05-30 13:58:40 +0800
commit8b1c9de166129086ff73a3ed0378e3feb06dda15 (patch)
treeca6a777415663fd510678c5229573742df6eb310 /src/gallium/drivers/ilo/ilo_shader.h
parent98dfd59a0445666060c97b0dccaf0e9f030b547a (diff)
ilo: simplify shader variant handling
Remove hash function on shader variants. Nature of variants limits them to a small number and thus its more efficient to just do a memory compare of the actual shader structures rather than compute and compare hashes.
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_shader.h')
-rw-r--r--src/gallium/drivers/ilo/ilo_shader.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/ilo/ilo_shader.h b/src/gallium/drivers/ilo/ilo_shader.h
index 66adabac35d..1ea0b4a0d1d 100644
--- a/src/gallium/drivers/ilo/ilo_shader.h
+++ b/src/gallium/drivers/ilo/ilo_shader.h
@@ -74,8 +74,6 @@ struct ilo_shader_variant {
*/
struct ilo_shader {
struct ilo_shader_variant variant;
- /* hash of the shader variant for quicker lookup */
- unsigned hash;
struct {
int semantic_names[PIPE_MAX_SHADER_INPUTS];