summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_shader.h
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/ilo_shader.h
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/ilo_shader.h')
-rw-r--r--src/gallium/drivers/ilo/ilo_shader.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/ilo/ilo_shader.h b/src/gallium/drivers/ilo/ilo_shader.h
index 5e457b91e11..4413c59e119 100644
--- a/src/gallium/drivers/ilo/ilo_shader.h
+++ b/src/gallium/drivers/ilo/ilo_shader.h
@@ -77,4 +77,9 @@ ilo_shader_create_cs(const struct ilo_dev_info *dev,
void
ilo_shader_destroy(struct ilo_shader_state *shader);
+bool
+ilo_shader_select_kernel(struct ilo_shader_state *shader,
+ const struct ilo_context *ilo,
+ uint32_t dirty);
+
#endif /* ILO_SHADER_H */