From: Jonathan Marek Date: Wed, 24 Jun 2020 19:53:28 +0000 (-0400) Subject: freedreno/registers: add CP_DRAW_INDIRECT_MULTI X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=01799b3448ca4e31bb83a79b95e8b7634fa2c8c7;p=mesa.git freedreno/registers: add CP_DRAW_INDIRECT_MULTI Signed-off-by: Jonathan Marek Part-of: --- 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 + + + + + +