summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/shader
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2013-06-20 12:57:42 +0800
committerChia-I Wu <[email protected]>2013-06-25 12:10:34 +0800
commit96e2133e72ec0fb6173b79838f1a7d153b8f25b6 (patch)
tree4769c51ac033e5771cde6b8c235da1a0f4f8974b /src/gallium/drivers/ilo/shader
parentf0afedeb750d9f696242294c730827a28bdaac70 (diff)
ilo: clean up finalize_shader_states()
Add ilo_shader_select_kernel() to replace the dependency table, ilo_shader_variant_init(), and ilo_shader_state_use_variant(). With the changes, we no longer need to include ilo_shader_internal.h in ilo_state.c.
Diffstat (limited to 'src/gallium/drivers/ilo/shader')
-rw-r--r--src/gallium/drivers/ilo/shader/ilo_shader_internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/ilo/shader/ilo_shader_internal.h b/src/gallium/drivers/ilo/shader/ilo_shader_internal.h
index a73b3393fe3..1723bd19ded 100644
--- a/src/gallium/drivers/ilo/shader/ilo_shader_internal.h
+++ b/src/gallium/drivers/ilo/shader/ilo_shader_internal.h
@@ -138,6 +138,8 @@ struct ilo_shader_info {
unsigned req_input_mem;
} compute;
+ uint32_t non_orthogonal_states;
+
bool has_color_interp;
bool has_pos;
bool has_vertexid;