OSDN Git Service

ilo: simplify shader variant handling
authorCourtney Goeltzenleuchter <courtney@lunarg.com>
Tue, 28 May 2013 15:54:43 +0000 (09:54 -0600)
committerChia-I Wu <olvaffe@gmail.com>
Thu, 30 May 2013 05:58:40 +0000 (13:58 +0800)
commit8b1c9de166129086ff73a3ed0378e3feb06dda15
treeca6a777415663fd510678c5229573742df6eb310
parent98dfd59a0445666060c97b0dccaf0e9f030b547a
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.
src/gallium/drivers/ilo/ilo_shader.c
src/gallium/drivers/ilo/ilo_shader.h