radeonsi: rename si_vertex_element -> si_vertex_elements
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:
parent
7be6186e0c
commit
c8b6f42e25
|
@ -1027,7 +1027,7 @@ static void si_vertex_buffers_begin_new_cs(struct si_context *sctx)
|
|||
|
||||
bool si_upload_vertex_buffer_descriptors(struct si_context *sctx)
|
||||
{
|
||||
struct si_vertex_element *velems = sctx->vertex_elements;
|
||||
struct si_vertex_elements *velems = sctx->vertex_elements;
|
||||
struct si_descriptors *desc = &sctx->vertex_buffers;
|
||||
unsigned i, count;
|
||||
unsigned desc_list_byte_size;
|
||||
|
|
|
@ -290,7 +290,7 @@ struct si_context {
|
|||
struct si_cs_shader_state cs_shader_state;
|
||||
|
||||
/* shader information */
|
||||
struct si_vertex_element *vertex_elements;
|
||||
struct si_vertex_elements *vertex_elements;
|
||||
unsigned sprite_coord_enable;
|
||||
bool flatshade;
|
||||
bool do_update_shaders;
|
||||
|
|
|
@ -3716,7 +3716,7 @@ static void *si_create_vertex_elements(struct pipe_context *ctx,
|
|||
const struct pipe_vertex_element *elements)
|
||||
{
|
||||
struct si_screen *sscreen = (struct si_screen*)ctx->screen;
|
||||
struct si_vertex_element *v = CALLOC_STRUCT(si_vertex_element);
|
||||
struct si_vertex_elements *v = CALLOC_STRUCT(si_vertex_elements);
|
||||
bool used[SI_NUM_VERTEX_BUFFERS] = {};
|
||||
int i;
|
||||
|
||||
|
@ -3856,8 +3856,8 @@ static void *si_create_vertex_elements(struct pipe_context *ctx,
|
|||
static void si_bind_vertex_elements(struct pipe_context *ctx, void *state)
|
||||
{
|
||||
struct si_context *sctx = (struct si_context *)ctx;
|
||||
struct si_vertex_element *old = sctx->vertex_elements;
|
||||
struct si_vertex_element *v = (struct si_vertex_element*)state;
|
||||
struct si_vertex_elements *old = sctx->vertex_elements;
|
||||
struct si_vertex_elements *v = (struct si_vertex_elements*)state;
|
||||
|
||||
sctx->vertex_elements = v;
|
||||
sctx->vertex_buffers_dirty = true;
|
||||
|
|
|
@ -98,7 +98,7 @@ struct si_stencil_ref {
|
|||
struct si_dsa_stencil_ref_part dsa_part;
|
||||
};
|
||||
|
||||
struct si_vertex_element
|
||||
struct si_vertex_elements
|
||||
{
|
||||
unsigned count;
|
||||
unsigned first_vb_use_mask;
|
||||
|
|
Loading…
Reference in New Issue