summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/virgl/virgl_context.h
diff options
context:
space:
mode:
authorErik Faye-Lund <[email protected]>2018-12-11 12:34:38 +0000
committerErik Faye-Lund <[email protected]>2018-12-13 16:12:10 +0100
commit8447b64238773db0e365802315772d1819c1923f (patch)
tree6869b4acf89361e47d8d8dbb4e9aed7637452193 /src/gallium/drivers/virgl/virgl_context.h
parentb702ff537842f72a0f6a3a4a2c6608c52fce1004 (diff)
virgl: wrap vertex element state in a struct
This just has one member for now; the handle. But this is about to change. Signed-off-by: Erik Faye-Lund <[email protected]> Reviewed-by: Mathias Fröhlich <[email protected]> Tested-By: Gert Wollny <[email protected]>
Diffstat (limited to 'src/gallium/drivers/virgl/virgl_context.h')
-rw-r--r--src/gallium/drivers/virgl/virgl_context.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/virgl/virgl_context.h b/src/gallium/drivers/virgl/virgl_context.h
index 20988baa3c7..09cf0db2ae4 100644
--- a/src/gallium/drivers/virgl/virgl_context.h
+++ b/src/gallium/drivers/virgl/virgl_context.h
@@ -32,6 +32,7 @@ struct pipe_screen;
struct tgsi_token;
struct u_upload_mgr;
struct virgl_cmd_buf;
+struct virgl_vertex_elements_state;
struct virgl_sampler_view {
struct pipe_sampler_view base;
@@ -53,6 +54,7 @@ struct virgl_context {
struct virgl_cmd_buf *cbuf;
struct virgl_textures_info samplers[PIPE_SHADER_TYPES];
+ struct virgl_vertex_elements_state *vertex_elements;
struct pipe_framebuffer_state framebuffer;