mesa/src
Boris Brezillon d43912b188 panvk: Handle input varyings without previous writes
Some input varyings might not be written by any of the active stages
preceding the stage reading the varying (e.g. gl_Layer should be set
to 0 when not written by vertex/geometry shaders). In this case, we can
insert a dummy varying attribute returning zero. This is actually what
the code intended to do, but 2 things were missing:

1. formats[NONE] is not mapping to the CONSTANT0 format
2. the offset and strides should always be set to 0 when using a
   CONSTANT0 attribute

All of this is needed to have the input attachments working. Indeed, we
use the nir_lower_input_attachments() pass which lowers input attachment
loads to texel fetches, and the txf operation is passed the layer_id
in its 3rd coordinate.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13077>
2021-09-28 14:03:40 +00:00
..
amd radv: remove vs_common_out:export_prim_id 2021-09-28 13:42:52 +00:00
android_stub egl/android: refactor to use the legit vndk/window.h header 2021-06-09 21:07:54 +00:00
asahi nir: add indirect loop unrolling to compiler options 2021-08-03 10:54:50 +00:00
broadcom v3d: add R10G10B10X2_UNORM to format table 2021-09-28 00:20:39 +00:00
compiler spirv: don't bother initializing variables to Undef 2021-09-27 19:04:42 +00:00
drm-shim drm-shim: Support kernels with >4k pages 2021-08-13 23:33:52 +00:00
egl egl: Update Windows .def to include missing exports 2021-09-16 17:38:58 +00:00
etnaviv mesa: Prioritize checking for GLES2's uniform transpose error. 2021-09-21 23:06:42 +00:00
freedreno turnip: Disable VK_EXT_display_control. 2021-09-27 17:41:43 +00:00
gallium radeonsi/test: add sanity checks 2021-09-28 11:10:48 +00:00
gbm gbm/dri: implement image lookup extension version 2 2021-09-09 01:42:39 +00:00
getopt
glx glx: Don't strip off window/pixmap support from float fbconfigs 2021-09-27 09:36:51 -04:00
gtest
hgl
imgui
intel anv: assert that legacy_scanout isn't used with explicit modifiers 2021-09-27 17:36:44 -04:00
loader driconfig: Add support for device specific config 2021-08-02 16:37:24 -07:00
mapi mesa: GL_ARB_ES3_2_compatibility GL compat profile support 2021-09-23 11:10:23 +00:00
mesa intel: Add and use max_constant_urb_size_kb 2021-09-27 20:51:28 +00:00
microsoft microsoft/clc: drop LLVM dependency to version < 12 2021-09-28 13:29:56 +00:00
nouveau
panfrost panvk: Handle input varyings without previous writes 2021-09-28 14:03:40 +00:00
tool pps: Panfrost pps driver 2021-07-13 11:03:55 +00:00
util util/cache: test simple cache put and get between instances 2021-09-28 01:12:33 +00:00
virtio venus: separate physical device init and filter 2021-09-09 20:07:18 +00:00
vulkan vulkan: Update the XML and headers to 1.2.193 2021-09-24 17:55:10 +00:00
meson.build meson: Include EGL after gallium 2021-09-15 20:17:31 +00:00