diff options
author | Alyssa Rosenzweig <[email protected]> | 2020-03-02 21:32:31 -0500 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-03-05 14:35:37 +0000 |
commit | eb15525ab798aea74b02a7160c0fa4b9ec6212be (patch) | |
tree | 4c38ccf9dc003bdc0ea31110f6381ddc4bf482ac /src/panfrost/include | |
parent | 7618fe1b484eecc2246202df1e53ee607c6d70c4 (diff) |
panfrost: Add note about preloaded varyings
There's a magic bit in preload_regs which controls this. It doesn't
appear to be supported on G71 but it is on G52. I'd guess G72 supports
it too but I don't have a way to check this.
Needless to say, we'll need a quirks database for this.
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4061>
Diffstat (limited to 'src/panfrost/include')
-rw-r--r-- | src/panfrost/include/panfrost-job.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/panfrost/include/panfrost-job.h b/src/panfrost/include/panfrost-job.h index 1e67c150aa8..4f1edeb8453 100644 --- a/src/panfrost/include/panfrost-job.h +++ b/src/panfrost/include/panfrost-job.h @@ -601,6 +601,11 @@ struct mali_shader_meta { * - R61 : gl_SampleMaskIn and gl_SampleID, used by * varying interpolation. * - R62 : unknown (bit always unset). + * + * Later GPUs (starting with Mali-G52?) support + * preloading float varyings into r0-r7. This is + * indicated by setting 0x40. There is no distinction + * here between 1 varying and 2. */ u32 preload_regs : 8; /* In units of 8 bytes or 64 bits, since the |