ilo: speed up ilo_shader_select_kernel_routing() a bit 11/7111/1
authorChia-I Wu <olvaffe@gmail.com>
Mon, 24 Jun 2013 08:26:25 +0000 (16:26 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Tue, 25 Jun 2013 05:51:59 +0000 (13:51 +0800)
commit855b684141ddbdbc8f10a80f185c47b3a813c975
treed8bd6602b0034515414a9b93d5aa27506875a8a1
parent9b18df6e087a4db8ed5ed38bcc6b1db34fa95586
ilo: speed up ilo_shader_select_kernel_routing() a bit

Remember the order of the source attributes and avoid recomputation when it
does not change.
src/gallium/drivers/ilo/ilo_shader.c
src/gallium/drivers/ilo/shader/ilo_shader_internal.h