diff options
Diffstat (limited to 'src/gallium/drivers/panfrost/include/panfrost-job.h')
-rw-r--r-- | src/gallium/drivers/panfrost/include/panfrost-job.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/drivers/panfrost/include/panfrost-job.h b/src/gallium/drivers/panfrost/include/panfrost-job.h index f0a4de73085..2f739bf22ba 100644 --- a/src/gallium/drivers/panfrost/include/panfrost-job.h +++ b/src/gallium/drivers/panfrost/include/panfrost-job.h @@ -408,6 +408,13 @@ enum mali_format { /* Applies to unknown1 */ #define MALI_NO_ALPHA_TO_COVERAGE (1 << 10) +/* Flags denoting the fragment shader's use of tilebuffer readback. If the + * shader might read any part of the tilebuffer, set MALI_READS_TILEBUFFER. If + * it might read depth/stencil in particular, also set MALI_READS_ZS */ + +#define MALI_READS_ZS (1 << 12) +#define MALI_READS_TILEBUFFER (1 << 16) + struct mali_blend_meta { #ifndef BIFROST /* Base value of 0x200. |