Offsets that don't fit into 4 bits need to force gather_po to be selected. Adjust the logic so that this happens.
4f2d1d6 i965: support constant gather offsets larger than 4 bits
src/mesa/drivers/dri/i965/brw_fs_nir.cpp | 8 ++++++--
src/mesa/drivers/dri/i965/brw_shader.cpp | 17 +++++++++++------
src/mesa/drivers/dri/i965/brw_shader.h | 4 +++-
src/mesa/drivers/dri/i965/brw_vec4_nir.cpp | 7 ++++---
4 files changed, 24 insertions(+), 12 deletions(-)
Upstream: cgit.freedesktop.org