nir/lower_tex: clarify nir_lower_tex_options indexing
authorAlejandro Piñeiro <apinheiro@igalia.com>
Wed, 28 Oct 2020 11:59:24 +0000 (12:59 +0100)
committerMarge Bot <eric+marge@anholt.net>
Sat, 14 Nov 2020 15:59:02 +0000 (15:59 +0000)
commit5169dfd1fdeb8dee2f621b45ca73093b88f0296d
tree2431c81dbb52bccc39d19d5c6b30cd1d7791372d
parentf7b122728d5e015bbd706505e60600a864b43ea7
nir/lower_tex: clarify nir_lower_tex_options indexing

This doesn't matter too much on OpenGL as texture id and sampler id
are the same, but become relevant if using the lowering for Vulkan.

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7545>
src/compiler/nir/nir.h