nir/lower_input_attachments: remove bogus assert in try_lower_input_texop()
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 4 Mar 2020 08:06:45 +0000 (09:06 +0100)
committerMarge Bot <eric+marge@anholt.net>
Fri, 6 Mar 2020 09:13:40 +0000 (09:13 +0000)
commit913d2dcd231ed9c744970875883c185090389ea7
tree1a667429658a87c6784114e0acdebcf460e76123
parent6dc38cea52ce1e498a5d7a38cadcb9e7e15bde6c
nir/lower_input_attachments: remove bogus assert in try_lower_input_texop()

It can be a sampler too.

Fixes: 84b08971fbd ("nir/lower_input_attachments: lower nir_texop_fragment_{mask}_fetch")
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/2558
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4043>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4043>
src/compiler/nir/nir_lower_input_attachments.c