~mmach/netext73/mesa-ryzen

« back to all changes in this revision

Viewing changes to src/gallium/auxiliary/util/u_draw_quad.h

  • Committer: mmach
  • Date: 2023-11-02 21:31:35 UTC
  • Revision ID: netbit73@gmail.com-20231102213135-18d4tzh7tj0uz752
2023-11-02 22:11:57

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
#define U_DRAWQUAD_H
30
30
 
31
31
 
32
 
#include "pipe/p_compiler.h"
 
32
#include "util/compiler.h"
33
33
#include "pipe/p_context.h"
34
34
 
35
35
#include "util/u_draw.h"
43
43
 
44
44
extern void 
45
45
util_draw_vertex_buffer(struct pipe_context *pipe, struct cso_context *cso,
46
 
                        struct pipe_resource *vbuf, uint vbuf_slot,
47
 
                        uint offset, uint prim_type, uint num_attribs,
48
 
                        uint num_verts);
 
46
                        struct pipe_resource *vbuf, unsigned vbuf_slot,
 
47
                        unsigned offset, enum mesa_prim prim_type,
 
48
                        unsigned num_attribs, unsigned num_verts);
49
49
 
50
50
void
51
51
util_draw_user_vertex_buffer(struct cso_context *cso, void *buffer,
52
 
                             uint prim_type, uint num_verts, uint num_attribs);
 
52
                             enum mesa_prim prim_type, unsigned num_verts,
 
53
                             unsigned num_attribs);
53
54
 
54
55
#ifdef __cplusplus
55
56
}