mesa/src/compiler
Eduardo Lima Mitev f1d4fadf1b nir: Add new texop nir_texop_tex_prefetch
This is like nir_texop_tex, but signals that the sampling coordinates
are immutable during the shader stage, in a way that allows the HW
that supports pre-dispatching sampling operations to pre-fetch
the result prior to scheduling the shader stage.

This is introduced to support the feature in Freedreno. Adreno HW
from a4xx supports it.

A NIR pass introduced later in this series will detect sampling
operations that are eligible for pre-dispatch, and replace
nir_texop_tex by this new op, to tell the backend to enable
pre-fetch.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
2019-10-18 21:11:54 +00:00
..
glsl glsl: fix crash compiling bindless samplers inside unnamed UBOs 2019-10-12 22:04:23 +11:00
nir nir: Add new texop nir_texop_tex_prefetch 2019-10-18 21:11:54 +00:00
spirv nir: Add new texop nir_texop_tex_prefetch 2019-10-18 21:11:54 +00:00
Android.glsl.gen.mk mesa: android: Remove unnecessary dependency tracking rules 2019-05-06 11:29:25 +00:00
Android.glsl.mk android: glsl: build shader cache sources 2017-02-20 16:30:37 +00:00
Android.mk
Android.nir.gen.mk nir: Add missing dependency in Android.nir.gen.mk 2019-08-19 09:53:18 +03:00
Android.nir.mk android: fix libmesa_nir build 2017-07-21 08:47:56 +03:00
builtin_type_macros.h glsl_types: vec8/vec16 support 2018-03-25 10:42:54 -04:00
glsl_types.cpp glsl: disallow incompatible matrices multiplication 2019-09-27 21:42:09 +00:00
glsl_types.h Move blob from compiler/ to util/ 2019-09-19 19:56:22 +00:00
Makefile.sources nir: add lowering-pass for point-size mov 2019-10-17 10:41:36 +02:00
meson.build meson: drop unused inc_nir 2019-10-07 21:49:40 +01:00
nir_types.cpp nir: define 8-byte size and alignment for bindless variables 2019-09-23 15:34:22 -04:00
nir_types.h compiler: Add glsl_contains_opaque() helper 2019-09-10 14:36:46 -07:00
SConscript spirv: Fix building with SCons 2018-03-30 14:33:03 -06:00
SConscript.glsl scons: Generate float64_glsl.h for glsl_to_nir fp64 lowering 2019-03-02 14:33:44 -08:00
SConscript.nir nir: mako all the intrinsics 2018-03-27 08:36:37 -04:00
SConscript.spirv spirv: Fix building with SCons 2018-03-30 14:33:03 -06:00
shader_enums.c freedreno/ir3: Implement lowering passes for VS and GS 2019-10-17 13:43:53 -07:00
shader_enums.h freedreno/ir3: Implement lowering passes for VS and GS 2019-10-17 13:43:53 -07:00
shader_info.h nir: add shader_info::last_msaa_image 2019-10-09 17:12:19 -04:00