diff options
author | Chia-I Wu <[email protected]> | 2015-06-15 15:17:45 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2015-06-20 11:18:09 +0800 |
commit | e3372c4bfb8d5960714651ca7d3f1acc0018a8fa (patch) | |
tree | f3fcfa1d3b382a4d064c39633cd5ca1dfc014bcc /src/gallium/drivers/ilo/ilo_state.h | |
parent | 9904e647cca0a15c80557ed7bcc6893faf147436 (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.h | 8 |
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; }; |