diff options
author | Axel Davy <[email protected]> | 2016-10-16 17:49:09 +0200 |
---|---|---|
committer | Axel Davy <[email protected]> | 2016-12-20 23:44:21 +0100 |
commit | aea7a019ef67a4a5cb83f97aceafac098275171c (patch) | |
tree | 611ac6a8011a30d974e602fc8ff864ba2dd803a0 /src/gallium/state_trackers/nine/nine_state.h | |
parent | eed47b748f26363c0de063f51b0c67959e7e5b06 (diff) |
st/nine: Move stream_usage_mask to nine_context
Part of the refactor to move all gallium calls to
nine_state.c, and have all internal states required
for those calls in nine_context.
Signed-off-by: Axel Davy <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/nine/nine_state.h')
-rw-r--r-- | src/gallium/state_trackers/nine/nine_state.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/nine/nine_state.h b/src/gallium/state_trackers/nine/nine_state.h index 71a5293e2bc..7711a2bef62 100644 --- a/src/gallium/state_trackers/nine/nine_state.h +++ b/src/gallium/state_trackers/nine/nine_state.h @@ -181,7 +181,6 @@ struct nine_state struct pipe_vertex_buffer vtxbuf[PIPE_MAX_ATTRIBS]; UINT stream_freq[PIPE_MAX_ATTRIBS]; uint32_t stream_instancedata_mask; /* derived from stream_freq */ - uint32_t stream_usage_mask; /* derived from VS and vdecl */ struct pipe_clip_state clip; @@ -225,6 +224,8 @@ struct nine_context { uint8_t rt_mask; + uint32_t stream_usage_mask; /* derived from VS and vdecl */ + DWORD rs[NINED3DRS_COUNT]; struct NineBaseTexture9 *texture[NINE_MAX_SAMPLERS]; |