From 01799b3448ca4e31bb83a79b95e8b7634fa2c8c7 Mon Sep 17 00:00:00 2001 From: Jonathan Marek Date: Wed, 24 Jun 2020 15:53:28 -0400 Subject: [PATCH] freedreno/registers: add CP_DRAW_INDIRECT_MULTI Signed-off-by: Jonathan Marek Part-of: --- src/freedreno/registers/adreno_pm4.xml | 32 ++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/src/freedreno/registers/adreno_pm4.xml b/src/freedreno/registers/adreno_pm4.xml index 76ecd1a327a..0832891912c 100644 --- a/src/freedreno/registers/adreno_pm4.xml +++ b/src/freedreno/registers/adreno_pm4.xml @@ -306,6 +306,7 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd"> + @@ -775,6 +776,37 @@ opcode: CP_LOAD_STATE4 (30) (4 dwords) + + + + + + + + + + DST_OFF same as in CP_LOAD_STATE6 - vec4 VS const at this offset will + be updated for each draw to {draw_id, first_vertex, first_instance, 0} + value of 0 disables it + + + + + + + for opcode 2: indirect address. for opcode 4: index address + + + for opcode 2: stride. for opcode 4: max_indices + + + last 3 dwords only for opcode 4 + + + + + + -- 2.30.2