vc4: Convert the driver to emitting the shader record using pack macros.

This commit is contained in:
Eric Anholt
2016-12-10 15:47:26 -08:00
parent 8d36bd3d08
commit bd1925562a
4 changed files with 97 additions and 51 deletions
+8
View File
@@ -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>