summaryrefslogtreecommitdiffstats
path: root/src/broadcom
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2018-05-08 14:28:33 -0700
committerEric Anholt <[email protected]>2018-05-17 15:09:46 +0100
commit97894b1267923dee25ea5263e547ac8822ef7095 (patch)
tree1a937b563cad17d3fa0a910d644ab5ad68d31417 /src/broadcom
parent9bbc3f8cf1f116aa17ebcd399c0d3a8fb07b5266 (diff)
v3d: Add support for glSampleMask / glSampleCoverage.
Diffstat (limited to 'src/broadcom')
-rw-r--r--src/broadcom/cle/v3d_packet_v41.xml5
-rw-r--r--src/broadcom/cle/v3d_packet_v42.xml5
2 files changed, 10 insertions, 0 deletions
diff --git a/src/broadcom/cle/v3d_packet_v41.xml b/src/broadcom/cle/v3d_packet_v41.xml
index 1fb5d5d2843..c5165614079 100644
--- a/src/broadcom/cle/v3d_packet_v41.xml
+++ b/src/broadcom/cle/v3d_packet_v41.xml
@@ -475,6 +475,11 @@
<field name="Varying offset V0" size="4" start="0" type="uint"/>
</packet>
+ <packet code="91" name="Sample State">
+ <field name="Coverage" size="16" start="16" type="uint"/> <!-- float-1-8-7 -->
+ <field name="Mask" size="4" start="0" type="uint"/>
+ </packet>
+
<packet code="92" name="Occlusion Query Counter">
<field name="address" size="32" start="0" type="address"/>
</packet>
diff --git a/src/broadcom/cle/v3d_packet_v42.xml b/src/broadcom/cle/v3d_packet_v42.xml
index a562d662ff3..fb4425968c3 100644
--- a/src/broadcom/cle/v3d_packet_v42.xml
+++ b/src/broadcom/cle/v3d_packet_v42.xml
@@ -476,6 +476,11 @@
<field name="Varying offset V0" size="4" start="0" type="uint"/>
</packet>
+ <packet code="91" name="Sample State">
+ <field name="Coverage" size="16" start="16" type="uint"/> <!-- float-1-8-7 -->
+ <field name="Mask" size="4" start="0" type="uint"/>
+ </packet>
+
<packet code="92" name="Occlusion Query Counter">
<field name="address" size="32" start="0" type="address"/>
</packet>