panfrost: Split the sampler and texture count
authorBoris Brezillon <boris.brezillon@collabora.com>
Fri, 5 Mar 2021 12:23:09 +0000 (13:23 +0100)
committerMarge Bot <eric+marge@anholt.net>
Thu, 11 Mar 2021 15:10:58 +0000 (15:10 +0000)
commit825b1f94464be7bfdbd2a3a1065ee72428c8dd58
treec92bee9ce05a493ed5ec7549e2c6f58a1e6fab6c
parentb0f968cf5c99710b0e204ac59e87314f5cdbc60f
panfrost: Split the sampler and texture count

The texture and sampler descriptors are well separated in Vulkan,
let's add a new field to allow mixing sampler and texture descs.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9517>
src/panfrost/lib/pan_shader.c
src/panfrost/lib/pan_shader.h
src/panfrost/util/pan_ir.h