diff options
author | Marek Olšák <[email protected]> | 2017-04-30 14:49:45 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-05-08 18:33:46 +0200 |
commit | b84979d6c7c293e03bac4847cb5c62bce7f4245a (patch) | |
tree | f641b609e462e7fc9a9c70b02bd53d366af38620 /src/mesa/state_tracker | |
parent | d801247cec8f55304fbf8d6c222272941ec23fdb (diff) |
st/mesa: remove unused st parameter in init_velement_lowered
Tested-by: Edmondo Tommasina <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r-- | src/mesa/state_tracker/st_atom_array.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mesa/state_tracker/st_atom_array.c b/src/mesa/state_tracker/st_atom_array.c index d3c4ff32031..9381f788bd0 100644 --- a/src/mesa/state_tracker/st_atom_array.c +++ b/src/mesa/state_tracker/st_atom_array.c @@ -374,8 +374,7 @@ static void init_velement(struct pipe_vertex_element *velement, assert(velement->src_format); } -static void init_velement_lowered(struct st_context *st, - const struct st_vertex_program *vp, +static void init_velement_lowered(const struct st_vertex_program *vp, struct pipe_vertex_element *velements, int src_offset, int format, int instance_divisor, int vbo_index, @@ -498,7 +497,7 @@ setup_interleaved_attribs(struct st_context *st, array->Normalized, array->Integer); - init_velement_lowered(st, vp, velements, src_offset, src_format, + init_velement_lowered(vp, velements, src_offset, src_format, array->InstanceDivisor, 0, array->Size, array->Doubles, &attr); } @@ -618,7 +617,7 @@ setup_non_interleaved_attribs(struct st_context *st, array->Normalized, array->Integer); - init_velement_lowered(st, vp, velements, 0, src_format, + init_velement_lowered(vp, velements, 0, src_format, array->InstanceDivisor, bufidx, array->Size, array->Doubles, &attr); } |