summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc4/vc4_context.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_context.h')
-rw-r--r--src/gallium/drivers/vc4/vc4_context.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gallium/drivers/vc4/vc4_context.h b/src/gallium/drivers/vc4/vc4_context.h
index 3c43b9441a0..e8f9e355a98 100644
--- a/src/gallium/drivers/vc4/vc4_context.h
+++ b/src/gallium/drivers/vc4/vc4_context.h
@@ -76,6 +76,11 @@ struct vc4_shader_uniform_info {
uint32_t num_texture_samples;
};
+struct vc4_uncompiled_shader {
+ struct pipe_shader_state base;
+ const struct tgsi_token *twoside_tokens;
+};
+
struct vc4_compiled_shader {
struct vc4_bo *bo;
@@ -90,7 +95,7 @@ struct vc4_compiled_shader {
};
struct vc4_program_stateobj {
- struct pipe_shader_state *bind_vs, *bind_fs;
+ struct vc4_uncompiled_shader *bind_vs, *bind_fs;
struct vc4_compiled_shader *vs, *fs;
uint32_t dirty;
uint8_t num_exports;