mesa/src/virtio
Gert Wollny 3ae1f0120b 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>
(cherry picked from commit 95cea62a9b)

Conflicts:
	src/virtio/virtio-gpu/virgl_hw.h
2022-10-18 09:53:54 -07:00
..
venus-protocol venus: update venus-protocol with VK_EXT_image_view_min_lod 2022-06-24 23:09:48 +00:00
virtio-gpu virgl: Report CONSTANT_BUFFER_SIZE according to GL_MAX_UNIFORM_BLOCK_SIZE 2022-10-18 09:53:54 -07:00
vtest virgl: update headers from virglrenderer 2021-04-08 17:15:37 +00:00
vulkan venus: ignore pInheritanceInfo if not secondary command buffer 2022-09-15 10:15:55 -07:00
meson.build venus: add driver skeleton 2021-04-08 17:15:37 +00:00