mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
pan/bi: Document constant count invariant
constants + instructions <= 13 Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5260>
This commit is contained in:
parent
ac64bf9b20
commit
a658a4f7a5
1 changed files with 7 additions and 1 deletions
|
|
@ -373,7 +373,13 @@ typedef struct {
|
|||
/* Corresponds to the usual bit but shifted by a clause */
|
||||
bool data_register_write_barrier;
|
||||
|
||||
/* Constants read by this clause. ISA limit. */
|
||||
/* Constants read by this clause. ISA limit. Must satisfy:
|
||||
*
|
||||
* constant_count + bundle_count <= 13
|
||||
*
|
||||
* Also implicitly constant_count <= bundle_count since a bundle only
|
||||
* reads a single constant.
|
||||
*/
|
||||
uint64_t constants[8];
|
||||
unsigned constant_count;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue