mesa/src/compiler
Samuel Pitoiset 128b2de63b nir: gather if a fragment shader uses sample shading
This introduces a new flag in shader_info to know if a fragment
shader uses sample shading, even if there is no inputs.

During NIR linking, constants varyings are optimized and the
per-sample interpolation info (ie. the sample qualifier) might
be removed if nir_shader_gather_info() is called again.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7876>
2020-12-03 08:24:05 +01:00
..
glsl glsl: fix redefinition warning on win32 2020-12-01 16:51:01 +00:00
nir nir: gather if a fragment shader uses sample shading 2020-12-03 08:24:05 +01:00
spirv compiler/spirv: update fallthrough comments 2020-12-01 10:04:41 +01:00
Android.glsl.gen.mk android: util: Move xxd.py to util 2020-10-11 23:22:34 +02:00
Android.glsl.mk
Android.mk
Android.nir.gen.mk nir: use a single canonical list of intrinsic indices 2020-11-26 17:50:38 +00:00
Android.nir.mk android: fix libmesa_nir build 2017-07-21 08:47:56 +03:00
builtin_type_macros.h compiler/types: Add 64-bit image types 2020-11-09 17:17:39 +00:00
glsl_types.cpp compiler/types: Add 64-bit image types 2020-11-09 17:17:39 +00:00
glsl_types.h glsl: Fix -Wshadow warning 2020-11-16 08:49:18 +00:00
Makefile.sources nir: use a single canonical list of intrinsic indices 2020-11-26 17:50:38 +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 size_align helper function for aligning elements to 16 bytes. 2020-11-16 13:54:22 -08:00
nir_types.h nir: Add a size_align helper function for aligning elements to 16 bytes. 2020-11-16 13:54:22 -08: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: use a single canonical list of intrinsic indices 2020-11-26 17:50:38 +00:00
SConscript.spirv scons: fix SPIR-V -> NIR build 2020-10-13 16:53:10 +01:00
shader_enums.c compiler/nir: introduce a new helper to get varying name 2020-12-01 08:20:38 +00:00
shader_enums.h compiler: decrease STATE_LENGTH from 5 to 4 2020-12-01 11:52:11 +00:00
shader_info.h nir: gather if a fragment shader uses sample shading 2020-12-03 08:24:05 +01:00