st/mesa: lower images when needed
authorKarol Herbst <kherbst@redhat.com>
Mon, 15 Jun 2020 13:14:58 +0000 (15:14 +0200)
committerMarge Bot <eric+marge@anholt.net>
Thu, 18 Jun 2020 15:15:17 +0000 (15:15 +0000)
commite35e0307cb6c226ef87d307c1ac910f4169536c1
treed4ac71dc61ba51e6c2315bc1b220029a548a0c70
parent365d0aa6c543052635f3b6abbcd89d6d7833b97d
st/mesa: lower images when needed

The "st/pbo download FS" builtin shader uses image derefs, so even with
PIPE_CAP_NIR_IMAGES_AS_DEREF set to 0 drivers ended up with those.

Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5480>
src/mesa/state_tracker/st_nir_builtins.c