nir: lower_tex: Don't normalize coordinates for TXF with RECT
authorGert Wollny <gert.wollny@collabora.com>
Tue, 19 May 2020 15:52:31 +0000 (17:52 +0200)
committerMarge Bot <eric+marge@anholt.net>
Thu, 28 May 2020 18:39:29 +0000 (18:39 +0000)
commit682e14d3eaee8991ee08ea309cbf9a509b6e6b27
tree638917ea4d7dd4851be2019542b1e316fd6b7dfe
parentf0c102c075f8ac76629bb34619187262ccc3e9d8
nir: lower_tex: Don't normalize coordinates for TXF with RECT

v2: remove the option to actually request normalization and its
    application in Intel < Gen6 (Jason)

v3: Also don't lower for query operations (Jason)

Fixes: 1ce8060c25c7f2c7a54159fab6a6974c0ba182a8
    nir/lower_tex: support for lowering RECT textures

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5105>
src/compiler/nir/nir_lower_tex.c