diff options
author | Chia-I Wu <[email protected]> | 2015-06-18 14:26:29 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2015-06-20 11:14:14 +0800 |
commit | 4555211028394673f8ad68f3de9c12e9a1f93160 (patch) | |
tree | c9d885b73ee4253b91a4fe7e22171e76b63fc90e /src/gallium/drivers/ilo/ilo_state.h | |
parent | e8d297b7a108fcf1cb688fe1db89e83b8f85e091 (diff) |
ilo: add 3DSTATE_VF_INSTANCING to ilo_state_vf
3DSTATE_VF_INSTANCING specifies instancing enable and step rate. They are
specified along with 3DSTATE_VERTEX_BUFFERS instead prior to Gen8. Both
commands are added.
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_state.h')
-rw-r--r-- | src/gallium/drivers/ilo/ilo_state.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/ilo/ilo_state.h b/src/gallium/drivers/ilo/ilo_state.h index 9ce7744948c..66c671a01e5 100644 --- a/src/gallium/drivers/ilo/ilo_state.h +++ b/src/gallium/drivers/ilo/ilo_state.h @@ -147,11 +147,10 @@ struct ilo_shader_state; struct ilo_ve_state { unsigned vb_mapping[PIPE_MAX_ATTRIBS]; - unsigned instance_divisors[PIPE_MAX_ATTRIBS]; unsigned vb_count; /* these are not valid until the state is finalized */ - uint32_t vf_data[PIPE_MAX_ATTRIBS][2]; + uint32_t vf_data[PIPE_MAX_ATTRIBS][4]; struct ilo_state_vf_params_info vf_params; struct ilo_state_vf vf; }; |