diff options
author | Mike Blumenkrantz <[email protected]> | 2020-06-10 15:26:07 -0400 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-06-15 15:36:06 +0000 |
commit | 828c767113f557e2a6098342a3dfbfa3e393aa91 (patch) | |
tree | ad4f9daf6a76654aa712613161624f68e7c1226b /src/freedreno/ir3/ir3_shader.c | |
parent | f90bc6daa973b3d762d87254bf4cbe2a71475fda (diff) |
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 <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5432>
Diffstat (limited to 'src/freedreno/ir3/ir3_shader.c')
0 files changed, 0 insertions, 0 deletions