diff options
author | Chia-I Wu <[email protected]> | 2013-05-29 14:25:34 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2013-06-07 11:13:14 +0800 |
commit | 6b14b392d04d8f1b43d565f65cdbd738b9f950a7 (patch) | |
tree | cbb8d861f73a43f95d8fb7b9d848b9f872d4d47d /src/gallium/drivers/ilo/ilo_gpe.h | |
parent | f0af29223957a94e24ae45921da080bc99037d69 (diff) |
ilo: switch to ilo states for VF stage
Define and use
struct ilo_vb_state;
struct ilo_ve_state;
struct ilo_ib_state;
in ilo_context.
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_gpe.h')
-rw-r--r-- | src/gallium/drivers/ilo/ilo_gpe.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/gallium/drivers/ilo/ilo_gpe.h b/src/gallium/drivers/ilo/ilo_gpe.h index 5fd2309237f..7c103aa3842 100644 --- a/src/gallium/drivers/ilo/ilo_gpe.h +++ b/src/gallium/drivers/ilo/ilo_gpe.h @@ -52,4 +52,18 @@ #define ILO_WM_CONST_SURFACE(i) (ILO_MAX_DRAW_BUFFERS + i) #define ILO_WM_TEXTURE_SURFACE(i) (ILO_MAX_DRAW_BUFFERS + ILO_MAX_CONST_BUFFERS + i) +struct ilo_vb_state { + struct pipe_vertex_buffer states[PIPE_MAX_ATTRIBS]; + uint32_t enabled_mask; +}; + +struct ilo_ib_state { + struct pipe_index_buffer state; +}; + +struct ilo_ve_state { + struct pipe_vertex_element states[PIPE_MAX_ATTRIBS]; + unsigned count; +}; + #endif /* ILO_GPE_H */ |