diff options
author | Vasily Khoruzhick <anarsoul@gmail.com> | 2021-10-01 06:23:48 -0700 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2021-11-15 22:52:55 +0000 |
commit | 3bb192a15bfd6bc676030a52e489e108f23d9de5 (patch) | |
tree | f0317f0fa7c2a80cbe4374ca4bdbc1d7610e97cf /src/gallium/include | |
parent | df93e7aeeee6dc33da4ae4691917eba0432285c9 (diff) |
gallium: add PIPE_CAP_PREFER_POT_ALIGNED_VARYINGS
Driver should enable this cap if it prefers varyings to be aligned
to power of two in a slot, i.e. vec4 in .xyzw, vec3 in .xyz, vec2 in .xy
or .zw
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13151>
Diffstat (limited to 'src/gallium/include')
-rw-r--r-- | src/gallium/include/pipe/p_defines.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_defines.h b/src/gallium/include/pipe/p_defines.h index 0bcc5de7e26..46220b00423 100644 --- a/src/gallium/include/pipe/p_defines.h +++ b/src/gallium/include/pipe/p_defines.h @@ -998,6 +998,7 @@ enum pipe_cap PIPE_CAP_SUPPORTED_PRIM_MODES_WITH_RESTART, PIPE_CAP_PREFER_BACK_BUFFER_REUSE, PIPE_CAP_DRAW_VERTEX_STATE, + PIPE_CAP_PREFER_POT_ALIGNED_VARYINGS, PIPE_CAP_LAST, /* XXX do not add caps after PIPE_CAP_LAST! */ |