nir/builtin_builder: factor out nir_build_texture_query
useful for other queries too (will be used in honeykrisp). no functional change.
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
useful for other queries too (will be used in honeykrisp). no functional change.