mesa/src/gallium/include
Marek Olšák b688ea31fc gallium: add unbind_num_trailing_slots to set_sampler_views
Instead of calling this functions again to unbind trailing slots,
extend it to do it when binding. This reduces CPU overhead.

A lot of drivers ignore "start" and always unbind all slots after "count".
Such drivers don't need any changes here.

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8298>
2021-01-27 23:53:35 +00:00
..
frontend gallium/api: add state invalidate interface as alternative to cso_save/restore 2021-01-15 04:01:12 -05:00
pipe gallium: add unbind_num_trailing_slots to set_sampler_views 2021-01-27 23:53:35 +00:00