aboutsummaryrefslogtreecommitdiffstats
path: root/src/freedreno/registers
diff options
context:
space:
mode:
authorBrian Ho <[email protected]>2020-04-24 12:52:05 -0700
committerMarge Bot <[email protected]>2020-06-22 14:35:46 +0000
commit2718353b381790be3dca8a385d23034ea96f8565 (patch)
tree8932d7da7e095aba0d9a9e51ec9060542d4fb3d5 /src/freedreno/registers
parent08aaa3d4c46984f49fa0a9971224fabbd5a31408 (diff)
turnip: Support tess for draws
This commit adds tessellation support for draws. We store the IR3 patch type in tu_pipeline so we can use it in tu_emit_draw_*. We then convert the IR3 patch type to the native adreno patch type and set the appropriate reg values. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5059>
Diffstat (limited to 'src/freedreno/registers')
-rw-r--r--src/freedreno/registers/a6xx.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/freedreno/registers/a6xx.xml b/src/freedreno/registers/a6xx.xml
index de4580ae984..9699caefb8d 100644
--- a/src/freedreno/registers/a6xx.xml
+++ b/src/freedreno/registers/a6xx.xml
@@ -2696,6 +2696,7 @@ to upconvert to 32b float internally?
<bitfield name="PRIMITIVE_RESTART" pos="0" type="boolean"/>
<!-- maybe? b1 seems always set, so just assume it is for now: -->
<bitfield name="PROVOKING_VTX_LAST" pos="1" type="boolean"/>
+ <bitfield name="TESS_UPPER_LEFT_DOMAIN_ORIGIN" pos="2" type="boolean"/>
</reg32>
<reg32 offset="0x9b01" name="PC_PRIMITIVE_CNTL_1">
<doc>