mesa/src
Mike Blumenkrantz 828c767113 zink: rework input/output location emission
glsl builtins that have no analog in spirv are emitted as regular varyings,
which means they take up a slot.

we need to ensure that there's no conflict between these regular varying
slots (from user-defined varyings) and the glsl translated builtins, so
we do that by "reserving" the max number of varying slots that can be used
by a given stage, then remapping all glsl builtins with no spirv builtin
to a packed layout location that can be consistent across stages

sort of addresses mesa/mesa#3113 except now there's 10 fewer varying slots

Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5432>
2020-06-15 15:36:06 +00:00
..
amd ac: add ac_choose_spi_color_formats() to common code 2020-06-15 08:16:07 +02:00
broadcom nir: add callback to nir_remove_dead_variables() 2020-06-03 02:22:23 +00:00
compiler spirv: fix using OpSampledImage with OpUndef instead of OpType{Image,Sampler} 2020-06-15 17:02:53 +02:00
drm-shim meson: use gnu_symbol_visibility argument 2020-06-01 18:59:18 +00:00
egl meson: use gnu_symbol_visibility argument 2020-06-01 18:59:18 +00:00
etnaviv meson: use gnu_symbol_visibility argument 2020-06-01 18:59:18 +00:00
freedreno freedreno/ir3: fix ir3_nir_move_varying_inputs 2020-06-14 17:53:47 +00:00
gallium zink: rework input/output location emission 2020-06-15 15:36:06 +00:00
gbm gbm: document that gbm_bo_map exposes a linear view 2020-06-03 10:09:52 +00:00
getopt meson: build getopt when using msvc 2019-09-10 20:36:47 +00:00
glx meson: use gnu_symbol_visibility argument 2020-06-01 18:59:18 +00:00
gtest gtest: Update to 1.10.0 2020-04-20 11:57:11 +00:00
hgl scons: Prune out unnecessary targets. 2020-03-30 13:38:01 +00:00
imgui meson: drop intel_ prefix on imgui_core 2019-12-10 15:16:02 +00:00
intel intel/tools: make test aware of the meson test wrapper 2020-06-13 20:32:08 +00:00
loader meson: use gnu_symbol_visibility argument 2020-06-01 18:59:18 +00:00
mapi glthread: sync in glFlush for multiple contexts 2020-06-09 05:07:01 +00:00
mesa i965: drop dead #include "config.h" 2020-06-13 01:31:56 +00:00
panfrost pan/mdg: Precolour blend inputs 2020-06-15 13:29:25 +00:00
util radv: enable radv_enable_mrt_output_nan_fixup for RAGE 2 2020-06-12 14:43:58 +02:00
vulkan Switch from cElementTree to ElementTree. 2020-06-05 23:42:54 -07:00
meson.build meson: use gnu_symbol_visibility argument 2020-06-01 18:59:18 +00:00
SConscript scons: Prune out unnecessary targets. 2020-03-30 13:38:01 +00:00