diff options
author | [email protected] <[email protected]> | 2018-06-04 10:25:20 -0700 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2018-06-05 14:29:00 +1000 |
commit | a7b74a77fa63efe6d6462ff4f201bea03fa23a33 (patch) | |
tree | 51ed12d4941f6724e24e1aaf842f529fe13beca9 /src/gallium/drivers/virgl/virgl_winsys.h | |
parent | 6ce94a50bbe2bfc0f5dfb58d39f5ddfece7a3320 (diff) |
virgl: use bits in caps set v2
Let's add another field to caps v2, that can help report boolean
values.
Suggested-by: Gert Wollny <[email protected]>
Suggested-by: Dave Airlie <[email protected]>
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.h | 1 |
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 83cb93138aa..9ebb31a1e41 100644 --- a/src/gallium/drivers/virgl/virgl_winsys.h +++ b/src/gallium/drivers/virgl/virgl_winsys.h @@ -135,5 +135,6 @@ static inline void virgl_ws_fill_new_caps_defaults(struct virgl_drm_caps *caps) caps->caps.v2.texture_buffer_offset_alignment = 0; caps->caps.v2.uniform_buffer_offset_alignment = 256; caps->caps.v2.shader_buffer_offset_alignment = 32; + caps->caps.v2.capability_bits = 0; } #endif |