summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/virgl/virgl_winsys.h
diff options
context:
space:
mode:
authorErik Faye-Lund <[email protected]>2018-07-17 15:43:57 +1000
committerDave Airlie <[email protected]>2018-07-17 15:45:37 +1000
commit591b7009440cef9fa0dd3bc09512a7a2906ef33d (patch)
treeedb5687794d5056b6656d003990a6e40ff02ccb5 /src/gallium/drivers/virgl/virgl_winsys.h
parent04e278f79334c36f2afa315d3dcfcbec055a4d2a (diff)
virgl: respect max_vertex_attrib_stride cap
This is required for OpenGL 4.4 and OpenGL ES 3.1 support. Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/virgl/virgl_winsys.h')
-rw-r--r--src/gallium/drivers/virgl/virgl_winsys.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/virgl/virgl_winsys.h b/src/gallium/drivers/virgl/virgl_winsys.h
index 99ab4d38405..6346c21fafc 100644
--- a/src/gallium/drivers/virgl/virgl_winsys.h
+++ b/src/gallium/drivers/virgl/virgl_winsys.h
@@ -136,5 +136,6 @@ static inline void virgl_ws_fill_new_caps_defaults(struct virgl_drm_caps *caps)
caps->caps.v2.uniform_buffer_offset_alignment = 256;
caps->caps.v2.shader_buffer_offset_alignment = 32;
caps->caps.v2.capability_bits = 0;
+ caps->caps.v2.max_vertex_attrib_stride = 0;
}
#endif