From: Jonathan Marek Date: Thu, 2 Jul 2020 02:32:06 +0000 (-0400) Subject: freedreno/regs: document SS6_UBO state src X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6d8e2cec819c1608258b566a9110871219f54dcd;p=mesa.git 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: --- 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) + +