mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 13:20:14 +01:00
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 <jonathan@marek.ca> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5760>
This commit is contained in:
parent
0a7b1f9167
commit
6d8e2cec81
1 changed files with 8 additions and 0 deletions
|
|
@ -610,6 +610,14 @@ opcode: CP_LOAD_STATE4 (30) (4 dwords)
|
||||||
<value name="SS6_DIRECT" value="0"/>
|
<value name="SS6_DIRECT" value="0"/>
|
||||||
<value name="SS6_BINDLESS" value="1"/> <!-- TODO does this exist on a4xx/a5xx? -->
|
<value name="SS6_BINDLESS" value="1"/> <!-- TODO does this exist on a4xx/a5xx? -->
|
||||||
<value name="SS6_INDIRECT" value="2"/>
|
<value name="SS6_INDIRECT" value="2"/>
|
||||||
|
<doc>
|
||||||
|
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)
|
||||||
|
</doc>
|
||||||
|
<value name="SS6_UBO" value="3"/>
|
||||||
</enum>
|
</enum>
|
||||||
<reg32 offset="0" name="0">
|
<reg32 offset="0" name="0">
|
||||||
<bitfield name="DST_OFF" low="0" high="13" type="uint"/>
|
<bitfield name="DST_OFF" low="0" high="13" type="uint"/>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue