Skip to content
Snippets Groups Projects
Commit 2701f887 authored by Danylo Piliaiev's avatar Danylo Piliaiev :flag_ua: Committed by Marge Bot
Browse files

anv/nir: Unify inputs_read/outputs_written between geometry stages

inputs_read/outputs_written are used for a shader stage to
determine the layout of input and output storage. Adjacent stages must
agree on the layout, so adjacent input/output bitfields must match.

Most of the time, cross-stage optimizations make that happen anyway,
but there are some cases (with special values like clip distances and
point size) where this doesn't happen.

Fixes crashes in dEQP-VK.subgroups.*.framebuffer.*_tess_eval

Closes: #3210


Cc: <mesa-stable@lists.freedesktop.org>
Signed-off-by: default avatarDanylo Piliaiev <danylo.piliaiev@globallogic.com>
Reviewed-by: default avatarTapani Pälli <tapani.palli@intel.com>
Part-of: <!6102>
parent 2a121751
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment