mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-28 06:30:40 +02:00
virgl: move virgl_vertex_elements_state to header
no functional changes Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24117>
This commit is contained in:
parent
4eb4c9bba9
commit
6984e524f4
2 changed files with 6 additions and 6 deletions
|
|
@ -50,12 +50,6 @@
|
|||
#include "virgl_staging_mgr.h"
|
||||
#include "virgl_video.h"
|
||||
|
||||
struct virgl_vertex_elements_state {
|
||||
uint32_t handle;
|
||||
uint8_t binding_map[PIPE_MAX_ATTRIBS];
|
||||
uint8_t num_bindings;
|
||||
};
|
||||
|
||||
static uint32_t next_handle;
|
||||
uint32_t virgl_object_assign_handle(void)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -103,6 +103,12 @@ struct virgl_context {
|
|||
uint64_t queued_staging_res_size;
|
||||
};
|
||||
|
||||
struct virgl_vertex_elements_state {
|
||||
uint32_t handle;
|
||||
uint8_t binding_map[PIPE_MAX_ATTRIBS];
|
||||
uint8_t num_bindings;
|
||||
};
|
||||
|
||||
static inline struct virgl_sampler_view *
|
||||
virgl_sampler_view(struct pipe_sampler_view *view)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue