microsoft/compiler: Handle tex texture/sampler offset srcs
authorJesse Natalie <jenatali@microsoft.com>
Sat, 15 Jan 2022 01:33:05 +0000 (17:33 -0800)
committerMarge Bot <emma+marge@anholt.net>
Fri, 21 Jan 2022 23:08:26 +0000 (23:08 +0000)
commitfe6f7b526563cc64ed59004f8a108d994a349bf7
tree68ea4617bd995191d0e70575aa4b7da632cddae1
parent7748e4799d2fa6408a8baaa4d9c710988685566d
microsoft/compiler: Handle tex texture/sampler offset srcs

Note that these offsets are 0-based, so to make them binding IDs we
need to explicitly add the base ID to them.

Reviewed-by: Sil Vilerino <sivileri@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14624>
src/microsoft/compiler/nir_to_dxil.c