compiler/shader_info: Better document require_full_quads

Reviewed-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Reviewed-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33862>
This commit is contained in:
Connor Abbott 2025-03-03 19:58:42 -05:00 committed by Marge Bot
parent f244d54953
commit 640a5e28fd

View file

@ -343,7 +343,11 @@ typedef struct shader_info {
bool color_is_dual_source:1;
/**
* True if this fragment shader requires full quad invocations.
* True if this fragment shader requires full quad invocations. This
* forces the shader to always behave as-if quad groups start with
* four active invocations, even if there are no derivatives or quad
* operations. Because helper invocations cannot have side effects,
* this mainly impacts subgroup operations such as ballot().
*/
bool require_full_quads:1;