summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_gpe.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_gpe.h')
-rw-r--r--src/gallium/drivers/ilo/ilo_gpe.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gallium/drivers/ilo/ilo_gpe.h b/src/gallium/drivers/ilo/ilo_gpe.h
index 1b5a38f5d3c..9103b261c20 100644
--- a/src/gallium/drivers/ilo/ilo_gpe.h
+++ b/src/gallium/drivers/ilo/ilo_gpe.h
@@ -179,8 +179,13 @@ struct ilo_view_state {
unsigned count;
};
+struct ilo_cbuf_cso {
+ struct pipe_resource *resource;
+ struct ilo_view_surface surface;
+};
+
struct ilo_cbuf_state {
- struct pipe_constant_buffer states[ILO_MAX_CONST_BUFFERS];
+ struct ilo_cbuf_cso cso[ILO_MAX_CONST_BUFFERS];
unsigned count;
};