From 6d8e2cec819c1608258b566a9110871219f54dcd Mon Sep 17 00:00:00 2001 From: Jonathan Marek Date: Wed, 1 Jul 2020 22:32:06 -0400 Subject: [PATCH] freedreno/regs: document SS6_UBO state src Document this new a6xx_state_src value seen in A640/A650 tess traces. Signed-off-by: Jonathan Marek Part-of: --- src/freedreno/registers/adreno_pm4.xml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/freedreno/registers/adreno_pm4.xml b/src/freedreno/registers/adreno_pm4.xml index c39fb9c8c78..a20d547ed65 100644 --- a/src/freedreno/registers/adreno_pm4.xml +++ b/src/freedreno/registers/adreno_pm4.xml @@ -610,6 +610,14 @@ opcode: CP_LOAD_STATE4 (30) (4 dwords) + + SS6_UBO used by the a6xx vulkan blob with tesselation constants + in this case, EXT_SRC_ADDR is (ubo_id shl 16 | offset) + to load constants from a UBO loaded with DST_OFF = 14 and offset 0, + EXT_SRC_ADDR = 0xe0000 + (offset is a guess, should be in bytes given that maxUniformBufferRange=64k) + + -- 2.30.2