diff options
author | Marek Olšák <[email protected]> | 2019-12-29 22:02:28 -0500 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2020-01-08 13:40:59 -0500 |
commit | ce648b913f83b968eb6ba1ad33fdcf86d5942fe5 (patch) | |
tree | 96f88ed059e9037a89c69b076efbe3b2b781c6a5 /src/gallium/auxiliary/util/u_vbuf.h | |
parent | 472593e9cfcb8d5b49d2475ee677700584583812 (diff) |
gallium: put u_vbuf_get_caps return values into u_vbuf_caps
Acked-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/util/u_vbuf.h')
-rw-r--r-- | src/gallium/auxiliary/util/u_vbuf.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/auxiliary/util/u_vbuf.h b/src/gallium/auxiliary/util/u_vbuf.h index 797fbb7681f..3e64d067e62 100644 --- a/src/gallium/auxiliary/util/u_vbuf.h +++ b/src/gallium/auxiliary/util/u_vbuf.h @@ -40,8 +40,6 @@ struct cso_context; struct u_vbuf; -#define U_VBUF_FLAG_NO_USER_VBOS (1 << 0) - /* Hardware vertex fetcher limitations can be described by this structure. */ struct u_vbuf_caps { enum pipe_format format_translation[PIPE_FORMAT_COUNT]; @@ -57,11 +55,13 @@ struct u_vbuf_caps { /* Maximum number of vertex buffers */ unsigned max_vertex_buffers:6; + + bool fallback_always; + bool fallback_only_for_user_vbuffers; }; -boolean u_vbuf_get_caps(struct pipe_screen *screen, struct u_vbuf_caps *caps, - unsigned flags); +void u_vbuf_get_caps(struct pipe_screen *screen, struct u_vbuf_caps *caps); struct u_vbuf * u_vbuf_create(struct pipe_context *pipe, struct u_vbuf_caps *caps); |