aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_shader.h
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2012-12-13 05:48:46 +0800
committerChia-I Wu <[email protected]>2013-04-26 16:20:52 +0800
commit825aa60707d620745ff3c1b6e43976977c81c2a9 (patch)
treee48b8e9e2d7c11262a06715442c1d35ae19bb9f7 /src/gallium/drivers/ilo/ilo_shader.h
parent7118ff8bb02046bb2f440e2a5c48d9a41bb057b1 (diff)
ilo: compile VS/GS/FS with the toy compiler
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_shader.h')
-rw-r--r--src/gallium/drivers/ilo/ilo_shader.h34
1 files changed, 14 insertions, 20 deletions
diff --git a/src/gallium/drivers/ilo/ilo_shader.h b/src/gallium/drivers/ilo/ilo_shader.h
index ffe5611131c..2c9e556adf8 100644
--- a/src/gallium/drivers/ilo/ilo_shader.h
+++ b/src/gallium/drivers/ilo/ilo_shader.h
@@ -211,33 +211,27 @@ ilo_shader_cache_mark_busy(struct ilo_shader_cache *shc)
shc->busy = true;
}
-static inline struct ilo_shader *
+struct ilo_shader *
ilo_shader_compile_vs(const struct ilo_shader_state *state,
- const struct ilo_shader_variant *variant)
-{
- return NULL;
-}
+ const struct ilo_shader_variant *variant);
-static inline struct ilo_shader *
+struct ilo_shader *
ilo_shader_compile_gs(const struct ilo_shader_state *state,
- const struct ilo_shader_variant *variant)
-{
- return NULL;
-}
+ const struct ilo_shader_variant *variant);
+
+bool
+ilo_shader_compile_gs_passthrough(const struct ilo_shader_state *vs_state,
+ const struct ilo_shader_variant *vs_variant,
+ const int *so_mapping,
+ struct ilo_shader *vs);
-static inline struct ilo_shader *
+struct ilo_shader *
ilo_shader_compile_fs(const struct ilo_shader_state *state,
- const struct ilo_shader_variant *variant)
-{
- return NULL;
-}
+ const struct ilo_shader_variant *variant);
-static inline struct ilo_shader *
+struct ilo_shader *
ilo_shader_compile_cs(const struct ilo_shader_state *state,
- const struct ilo_shader_variant *variant)
-{
- return NULL;
-}
+ const struct ilo_shader_variant *variant);
static inline void
ilo_shader_destroy(struct ilo_shader *sh)