summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/etnaviv/etnaviv_compiler.h
diff options
context:
space:
mode:
authorChristian Gmeiner <[email protected]>2017-02-12 17:11:44 +0100
committerChristian Gmeiner <[email protected]>2017-04-05 19:57:52 +0200
commit59b459ac17aedb971175d02c10b059216dec6e95 (patch)
treeffcc0368982b6be625ef83f5cd5032d45324ec13 /src/gallium/drivers/etnaviv/etnaviv_compiler.h
parent54e367bf0e195698f5be636bfc601ed5f53c97bd (diff)
etnaviv: s/etna_shader/etna_shader_variant
Prep work to add shader variant support. Signed-off-by: Christian Gmeiner <[email protected]>
Diffstat (limited to 'src/gallium/drivers/etnaviv/etnaviv_compiler.h')
-rw-r--r--src/gallium/drivers/etnaviv/etnaviv_compiler.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gallium/drivers/etnaviv/etnaviv_compiler.h b/src/gallium/drivers/etnaviv/etnaviv_compiler.h
index de3e20dc38a..2a3b4f4f4ee 100644
--- a/src/gallium/drivers/etnaviv/etnaviv_compiler.h
+++ b/src/gallium/drivers/etnaviv/etnaviv_compiler.h
@@ -55,7 +55,7 @@ struct etna_shader_io_file {
};
/* shader object, for linking */
-struct etna_shader {
+struct etna_shader_variant {
uint32_t id; /* for debug */
uint processor; /* TGSI_PROCESSOR_... */
@@ -107,17 +107,17 @@ struct etna_shader_link_info {
struct etna_varying varyings[ETNA_NUM_INPUTS];
};
-struct etna_shader *
+struct etna_shader_variant *
etna_compile_shader(const struct etna_specs *specs, const struct tgsi_token *tokens);
void
-etna_dump_shader(const struct etna_shader *shader);
+etna_dump_shader(const struct etna_shader_variant *shader);
bool
etna_link_shader(struct etna_shader_link_info *info,
- const struct etna_shader *vs, const struct etna_shader *fs);
+ const struct etna_shader_variant *vs, const struct etna_shader_variant *fs);
void
-etna_destroy_shader(struct etna_shader *shader);
+etna_destroy_shader(struct etna_shader_variant *shader);
#endif