mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 09:28:07 +02:00
mesa: remove per_vertex_edgeflags parameter from DrawGalliumVertexState
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19953>
This commit is contained in:
parent
a5851ca8b1
commit
33c3e429fe
3 changed files with 4 additions and 8 deletions
|
|
@ -182,8 +182,7 @@ struct dd_function_table {
|
|||
struct pipe_draw_vertex_state_info info,
|
||||
const struct pipe_draw_start_count_bias *draws,
|
||||
const uint8_t *mode,
|
||||
unsigned num_draws,
|
||||
bool per_vertex_edgeflags);
|
||||
unsigned num_draws);
|
||||
/*@}*/
|
||||
|
||||
struct pipe_vertex_state *
|
||||
|
|
|
|||
|
|
@ -345,8 +345,7 @@ st_draw_gallium_vertex_state(struct gl_context *ctx,
|
|||
struct pipe_draw_vertex_state_info info,
|
||||
const struct pipe_draw_start_count_bias *draws,
|
||||
const uint8_t *mode,
|
||||
unsigned num_draws,
|
||||
bool per_vertex_edgeflags)
|
||||
unsigned num_draws)
|
||||
{
|
||||
struct st_context *st = st_context(ctx);
|
||||
|
||||
|
|
|
|||
|
|
@ -281,13 +281,11 @@ vbo_save_playback_vertex_list_gallium(struct gl_context *ctx,
|
|||
ctx->Driver.DrawGalliumVertexState(ctx, state, info,
|
||||
node->start_counts,
|
||||
node->modes,
|
||||
node->num_draws,
|
||||
enabled & VERT_ATTRIB_EDGEFLAG);
|
||||
node->num_draws);
|
||||
} else if (node->num_draws) {
|
||||
ctx->Driver.DrawGalliumVertexState(ctx, state, info,
|
||||
&node->start_count,
|
||||
NULL, 1,
|
||||
enabled & VERT_ATTRIB_EDGEFLAG);
|
||||
NULL, 1);
|
||||
}
|
||||
|
||||
/* Restore edge flag state. */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue