diff options
Diffstat (limited to 'src/compiler/shader_info.h')
-rw-r--r-- | src/compiler/shader_info.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/compiler/shader_info.h b/src/compiler/shader_info.h index f71b93e84d0..115dd01e2b9 100644 --- a/src/compiler/shader_info.h +++ b/src/compiler/shader_info.h @@ -189,6 +189,14 @@ typedef struct shader_info { bool uses_discard; /** + * True if this fragment shader requires helper invocations. This + * can be caused by the use of ALU derivative ops, texture + * instructions which do implicit derivatives, and the use of quad + * subgroup operations. + */ + bool needs_helper_invocations; + + /** * Whether any inputs are declared with the "sample" qualifier. */ bool uses_sample_qualifier; |