summaryrefslogtreecommitdiffstats
path: root/src/broadcom
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2017-11-06 15:41:40 -0800
committerEric Anholt <[email protected]>2017-11-07 12:56:40 -0800
commit4f33344e7a6b988fbbc4a0802dacf5cab487e408 (patch)
tree5c489236b7b2e50098015f4e04879533f3933505 /src/broadcom
parentd002950e5491f971cbaa77ac80a698e5d746295a (diff)
broadcom/vc5: Add occlusion query support.
Fixes all of piglit's OQ tests.
Diffstat (limited to 'src/broadcom')
-rw-r--r--src/broadcom/cle/v3d_packet_v33.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/broadcom/cle/v3d_packet_v33.xml b/src/broadcom/cle/v3d_packet_v33.xml
index 2b0665537e8..165e489d4cd 100644
--- a/src/broadcom/cle/v3d_packet_v33.xml
+++ b/src/broadcom/cle/v3d_packet_v33.xml
@@ -329,6 +329,10 @@
<field name="Render Target 0 per colour component write masks" size="4" start="0" type="uint"/>
</packet>
+ <packet code="92" name="Occlusion Query Counter">
+ <field name="address" size="32" start="0" type="address"/>
+ </packet>
+
<packet code="96" name="Configuration Bits">
<field name="Direct3D Provoking Vertex" size="1" start="21" type="bool"/>
<field name="Direct3D 'Point-fill' mode" size="1" start="20" type="bool"/>