Skip to content

virgl: obtain supported number of shader sampler views from host

Gert Wollny requested to merge gerddie/mesa:virgl-pass-sampler-views-count into main

Modern games may use more than 16 sampler views, so get what the host actually supports, and default to 16 on old hosts that don't pass the value.

Since the possible maximal value of PIPE_MAX_SHADER_SAMPLER_VIEWS doesn't fit into an uint32_t remove the binding flags, they were only used for releasing the sampler views, and this can be achieved differently.

Host side MR: virgl/virglrenderer!643 (merged)

Merge request reports