summaryrefslogtreecommitdiffstats
path: root/src/broadcom/cle
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2016-12-10 15:47:26 -0800
committerEric Anholt <[email protected]>2017-06-30 12:25:45 -0700
commitbd1925562ad19e0972e06371dfb695b5e75cb7e4 (patch)
tree0753c9dfc850bbaa686a83743685607f96896eef /src/broadcom/cle
parent8d36bd3d086f2a3ab76b06ca21f3b1b2d12f7277 (diff)
vc4: Convert the driver to emitting the shader record using pack macros.
Diffstat (limited to 'src/broadcom/cle')
-rw-r--r--src/broadcom/cle/v3d_packet_v21.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/broadcom/cle/v3d_packet_v21.xml b/src/broadcom/cle/v3d_packet_v21.xml
index 1d5b5b7d0e4..7a957e64072 100644
--- a/src/broadcom/cle/v3d_packet_v21.xml
+++ b/src/broadcom/cle/v3d_packet_v21.xml
@@ -217,4 +217,12 @@
<field name="Coordinate Shader Uniforms Address" size="32" start="32b" type="uint"/>
</struct>
+ <struct name="Attribute Record">
+ <field name="Address" size="32" start="0b" type="address"/>
+ <field name="Number of Bytes minus 1" size="8" start="4b" type="uint"/>
+ <field name="Stride" size="8" start="5b" type="uint"/>
+ <field name="Vertex Shader VPM offset" size="8" start="6b" type="uint"/>
+ <field name="Coordinate Shader VPM offset" size="8" start="7b" type="uint"/>
+ </struct>
+
</vcxml>