mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 15:20:10 +01:00
virgl: set texture buffer offset alignment to disable ARB_texture_buffer_range.
The host side hasn't got support for this feature yet, so don't enable it
unless we get the caps from the host.
This makes the texture buffer range piglit tests skip now.
Fixes: fe0647df5a (virgl: add offset alignment values to to v2 caps struct)
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
This commit is contained in:
parent
2e6c987a85
commit
bfa74bb44d
1 changed files with 1 additions and 1 deletions
|
|
@ -132,7 +132,7 @@ static inline void virgl_ws_fill_new_caps_defaults(struct virgl_drm_caps *caps)
|
|||
caps->caps.v2.max_texel_offset = 7;
|
||||
caps->caps.v2.min_texture_gather_offset = -8;
|
||||
caps->caps.v2.max_texture_gather_offset = 7;
|
||||
caps->caps.v2.texture_buffer_offset_alignment = 32;
|
||||
caps->caps.v2.texture_buffer_offset_alignment = 0;
|
||||
caps->caps.v2.uniform_buffer_offset_alignment = 256;
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue