From 015707698203ace482fa1cc41071cf24e366ae74 Mon Sep 17 00:00:00 2001 From: Connor Abbott Date: Fri, 30 Apr 2021 18:03:56 +0200 Subject: [PATCH] freedreno/a6xx: Better document SP_GS_PRIM_SIZE Part-of: --- src/freedreno/registers/adreno/a6xx.xml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/freedreno/registers/adreno/a6xx.xml b/src/freedreno/registers/adreno/a6xx.xml index 918ef6d54ec..5643c5e20a4 100644 --- a/src/freedreno/registers/adreno/a6xx.xml +++ b/src/freedreno/registers/adreno/a6xx.xml @@ -2909,7 +2909,20 @@ to upconvert to 32b float internally? --> - + + + Normally the size of the output of the last stage in + dwords. It should be programmed as follows: + + size less than 63 - size + size of 63 (?) or 64 - 63 + size greater than 64 - 64 + + What to program when the size is 61-63 is a guess, but + both the blob and ir3 align the size to 4 dword's so it + doesn't matter in practice. + +