From 8da31ee15ff8a90d15734615571acc82f2aa7706 Mon Sep 17 00:00:00 2001 From: Connor Abbott Date: Mon, 20 Jul 2020 16:55:59 +0200 Subject: [PATCH] freedreno: Clean up CP_DRAW_MULTI_INDIRECT definition Depends on the envytools changes to make the "addvariant" magic work in order to decode this correctly, and to be able to print the register names directly. Part-of: --- src/freedreno/registers/adreno_pm4.xml | 27 ++++++++++++-------------- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/src/freedreno/registers/adreno_pm4.xml b/src/freedreno/registers/adreno_pm4.xml index 5bdca471a2d..b33625b7fc0 100644 --- a/src/freedreno/registers/adreno_pm4.xml +++ b/src/freedreno/registers/adreno_pm4.xml @@ -797,7 +797,7 @@ 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} @@ -805,20 +805,17 @@ opcode: CP_LOAD_STATE4 (30) (4 dwords) - - - - 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