summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_gpe.h
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2013-05-29 14:39:17 +0800
committerChia-I Wu <[email protected]>2013-06-07 11:13:14 +0800
commit3bc8289f49f6f1a7256c7d199d09d3753c10af3a (patch)
tree64c037d5dc1debe5764c2d7598dfda78fc920193 /src/gallium/drivers/ilo/ilo_gpe.h
parent6b14b392d04d8f1b43d565f65cdbd738b9f950a7 (diff)
ilo: switch to ilo states for SOL stage
Define and use struct ilo_so_state; in ilo_context.
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_gpe.h')
-rw-r--r--src/gallium/drivers/ilo/ilo_gpe.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/drivers/ilo/ilo_gpe.h b/src/gallium/drivers/ilo/ilo_gpe.h
index 7c103aa3842..468398e2e4b 100644
--- a/src/gallium/drivers/ilo/ilo_gpe.h
+++ b/src/gallium/drivers/ilo/ilo_gpe.h
@@ -66,4 +66,12 @@ struct ilo_ve_state {
unsigned count;
};
+struct ilo_so_state {
+ struct pipe_stream_output_target *states[ILO_MAX_SO_BUFFERS];
+ unsigned count;
+ unsigned append_bitmask;
+
+ bool enabled;
+};
+
#endif /* ILO_GPE_H */