diff options
author | Louis-Francis Ratté-Boulianne <[email protected]> | 2019-10-12 00:05:03 -0400 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-03-03 12:28:23 +0000 |
commit | 00746fa2dab0b55b113e3543420b79f01f91e5c1 (patch) | |
tree | 2c1ef09a59f7285360366aff9508ab24b3b8c000 /src/mesa/main/format_utils.c | |
parent | 8b361df9cf73aae45fff7f766da46d585d903c92 (diff) |
glsl/linker: add DisableTransformFeedbackPacking workaround
Some drivers (e.g. Panfrost) don't support packing of varyings when
used for transform feedback. This new constant ensures that any
varying used for xfb is aligned at the start of a slot and won't be
packed with other varyings.
Scenarios where transform feedback declarations are related to an
array element or a struct member will be handled in a subsequent
patch.
Signed-off-by: Louis-Francis Ratté-Boulianne <[email protected]>
Signed-off-by: Tomeu Vizoso <[email protected]> (Fix order of arguments to varying_matches())
Reviewed-by: Alyssa Rosenzweig <[email protected]>
Acked-by: Daniel Stone <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2433>
Diffstat (limited to 'src/mesa/main/format_utils.c')
0 files changed, 0 insertions, 0 deletions