Our fragment program backend implements support for TXP directly, and there's no NIR lowering pass to remove the projection. When we switch fragment program support over to NIR, we need to support it somehow.
It's easy enough to support directly.
v2: Split out offset/tex_offset rename (requested by Jordan).
649173b i965/fs: Implement texture projection support.
src/mesa/drivers/dri/i965/brw_fs_nir.cpp | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
Upstream: cgit.freedesktop.org