v3dv/pipeline: sampler lowering
authorAlejandro Piñeiro <apinheiro@igalia.com>
Tue, 10 Mar 2020 11:34:00 +0000 (12:34 +0100)
committerMarge Bot <eric+marge@anholt.net>
Tue, 13 Oct 2020 21:21:29 +0000 (21:21 +0000)
commit34910532fd736f355e0659652073cf9f7f36c228
treee3312ba481c7cbcbc7d6066d8860a02e9e91c711
parent522f7110a14c8521d4f6c0cafa8dc320763bf104
v3dv/pipeline: sampler lowering

Add a pass to lower "uniform sampler2d" and others to their
texture/sampler idx.

This commit basically imports the same lowering from turnip.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6766>
src/broadcom/vulkan/v3dv_pipeline.c
src/broadcom/vulkan/v3dv_private.h