summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_state.h
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2015-06-15 15:17:45 +0800
committerChia-I Wu <[email protected]>2015-06-20 11:18:09 +0800
commite3372c4bfb8d5960714651ca7d3f1acc0018a8fa (patch)
treef3fcfa1d3b382a4d064c39633cd5ca1dfc014bcc /src/gallium/drivers/ilo/ilo_state.h
parent9904e647cca0a15c80557ed7bcc6893faf147436 (diff)
ilo: add ilo_state_sol_buffer
It serves the same purpose as ilo_state_vertex_buffer does.
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_state.h')
-rw-r--r--src/gallium/drivers/ilo/ilo_state.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/drivers/ilo/ilo_state.h b/src/gallium/drivers/ilo/ilo_state.h
index d990269171b..e4746d0969b 100644
--- a/src/gallium/drivers/ilo/ilo_state.h
+++ b/src/gallium/drivers/ilo/ilo_state.h
@@ -217,11 +217,19 @@ struct ilo_view_state {
unsigned count;
};
+struct ilo_stream_output_target {
+ struct pipe_stream_output_target base;
+
+ struct ilo_state_sol_buffer sb;
+};
+
struct ilo_so_state {
struct pipe_stream_output_target *states[ILO_MAX_SO_BUFFERS];
unsigned count;
unsigned append_bitmask;
+ struct ilo_state_sol_buffer dummy_sb;
+
bool enabled;
};