mesa/src/virtio/virtio-gpu
Gert Wollny 95cea62a9b virgl: Report CONSTANT_BUFFER_SIZE according to GL_MAX_UNIFORM_BLOCK_SIZE
GL_MAX_FRAGMENT_UNIFORM_COMPONENTS may not report a size that
is useful to calculate the supported UBO size. Use the value
GL_MAX_UNIFORM_BLOCK_SIZE instead when the host supports this.

Related: https://gitlab.freedesktop.org/virgl/virglrenderer/-/issues/286
Fixes: 5b683ba19a
  virgl: Only progagate the uniform numbers if the numbers are actually right

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18512>
2022-09-10 15:23:57 +00:00
..
drm_hw.h freedreno/drm/virtio: Protocol updates 2022-04-27 23:10:00 +00:00
venus_hw.h venus: renderer to store allow_vk_wait_syncs capset 2022-06-16 19:00:36 +00:00
virgl_hw.h virgl: Report CONSTANT_BUFFER_SIZE according to GL_MAX_UNIFORM_BLOCK_SIZE 2022-09-10 15:23:57 +00:00
virgl_protocol.h virgl: Fix ubsan warnings: 2022-08-29 05:44:22 +00:00
virglrenderer_hw.h freedreno/drm: Add virtio backend 2022-03-25 02:03:30 +00:00