summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/virgl/virgl_hw.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_hw.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_hw.h')
-rw-r--r--src/gallium/drivers/virgl/virgl_hw.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/virgl/virgl_hw.h b/src/gallium/drivers/virgl/virgl_hw.h
index 118249e6950..f501da7cc13 100644
--- a/src/gallium/drivers/virgl/virgl_hw.h
+++ b/src/gallium/drivers/virgl/virgl_hw.h
@@ -300,7 +300,8 @@ struct virgl_caps_v2 {
uint32_t uniform_buffer_offset_alignment;
uint32_t shader_buffer_offset_alignment;
uint32_t capability_bits;
- uint32_t msaa_sample_positions[8];
+ uint32_t msaa_sample_positions[8];
+ uint32_t max_vertex_attrib_stride;
};
union virgl_caps {