mesa/src/compiler
Alejandro Piñeiro 10b79bf901 nir: include texture query lod as one of the ops that requires a sampler
In practice we found that we need this for v3d (specifically for cube
map arrays, as they don't support the default value for wrap_i, so a
sampler object is needed to override that value).

It is worth to note that the main reason behind this auxiliar method
was to identify those cases that we didn't have a sampler object
available for Vulkan. So far, we found that we have a sampler object
coming from nir always for that operation.

Fixes cube map array tests like the following:
dEQP-VK.glsl.texture_functions.query.texturequerylod.usamplercubearray_fragment

Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6766>
2020-10-13 21:21:31 +00:00
..
glsl glsl: fix up location setting for variables pointing to a UBO's base 2020-10-13 12:13:18 +00:00
nir nir: include texture query lod as one of the ops that requires a sampler 2020-10-13 21:21:31 +00:00
spirv android: fix SPIR-V -> NIR build 2020-10-12 22:26:05 +00:00
Android.glsl.gen.mk android: util: Move xxd.py to util 2020-10-11 23:22:34 +02:00
Android.glsl.mk android: glsl: build shader cache sources 2017-02-20 16:30:37 +00:00
Android.mk Android: glsl: add rules to generate ir_expression*.h header files 2016-09-06 15:58:55 +01:00
Android.nir.gen.mk android: fix SPIR-V -> NIR build 2020-10-12 22:26:05 +00:00
Android.nir.mk android: fix libmesa_nir build 2017-07-21 08:47:56 +03:00
builtin_type_macros.h nir/vtn: Add support for kernel images to SPIRV-to-NIR. 2020-08-31 21:17:39 +00:00
glsl_types.cpp nir: Add a pass to lower vec3s to vec4s 2020-10-02 07:30:49 +00:00
glsl_types.h nir: Add a pass to lower vec3s to vec4s 2020-10-02 07:30:49 +00:00
Makefile.sources nir: add pass to optimize uniform atomics 2020-10-13 12:47:21 +00:00
meson.build spirv: add some tests for volatile/available/visible 2020-09-01 17:15:22 +00:00
nir_types.cpp nir: Add a pass to lower vec3s to vec4s 2020-10-02 07:30:49 +00:00
nir_types.h nir: Add a pass to lower vec3s to vec4s 2020-10-02 07:30:49 +00:00
SConscript spirv: Fix building with SCons 2018-03-30 14:33:03 -06:00
SConscript.glsl util: Move xxd.py to util 2020-10-07 21:52:04 +00:00
SConscript.nir nir: mako all the intrinsics 2018-03-27 08:36:37 -04:00
SConscript.spirv scons: fix SPIR-V -> NIR build 2020-10-13 16:53:10 +01:00
shader_enums.c compiler: add INTERP_MODE_COLOR for radeonsi 2020-09-02 23:03:00 -04:00
shader_enums.h compiler: add INTERP_MODE_COLOR for radeonsi 2020-09-02 23:03:00 -04:00
shader_info.h nir: add new helper passes that lower uniforms to literals 2020-10-07 17:30:12 +00:00