diff options
author | Eric Anholt <[email protected]> | 2018-06-27 16:31:19 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2018-06-29 13:36:28 -0700 |
commit | b341b39db3b8e25d396b1eddbc81517d5ae4bad7 (patch) | |
tree | 4d06ea967d4f2098736d09de458de4f05b745621 /src | |
parent | 6c3c11ba19b50e3410bc9fce3161038dfdf47103 (diff) |
v3d: Fix the shader code address field widths on V3D 4.1+
We were overlapping it with the threadable/nan flags, resulting in
incorrect relocations (threadable/nan included in the offset) and wrong
ordering in the CLIF files.
Diffstat (limited to 'src')
-rw-r--r-- | src/broadcom/cle/v3d_packet_v33.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/broadcom/cle/v3d_packet_v33.xml b/src/broadcom/cle/v3d_packet_v33.xml index 95e47b5c14d..3eb8d8b7287 100644 --- a/src/broadcom/cle/v3d_packet_v33.xml +++ b/src/broadcom/cle/v3d_packet_v33.xml @@ -1090,19 +1090,19 @@ <field name="Address of default attribute values" size="32" start="8b" type="address"/> - <field name="Fragment Shader Code Address" size="32" start="12b" type="address"/> + <field name="Fragment Shader Code Address" size="29" start="99" type="address"/> <field name="Fragment Shader 4-way threadable" size="1" start="96" type="bool"/> <field name="Fragment Shader start in final thread section" size="1" start="97" type="bool"/> <field name="Fragment Shader Propagate NaNs" size="1" start="98" type="bool"/> <field name="Fragment Shader Uniforms Address" size="32" start="16b" type="address"/> - <field name="Vertex Shader Code Address" size="32" start="20b" type="address"/> + <field name="Vertex Shader Code Address" size="29" start="163" type="address"/> <field name="Vertex Shader 4-way threadable" size="1" start="160" type="bool"/> <field name="Vertex Shader start in final thread section" size="1" start="161" type="bool"/> <field name="Vertex Shader Propagate NaNs" size="1" start="162" type="bool"/> <field name="Vertex Shader Uniforms Address" size="32" start="24b" type="address"/> - <field name="Coordinate Shader Code Address" size="32" start="28b" type="address"/> + <field name="Coordinate Shader Code Address" size="29" start="227" type="address"/> <field name="Coordinate Shader 4-way threadable" size="1" start="224" type="bool"/> <field name="Coordinate Shader start in final thread section" size="1" start="225" type="bool"/> <field name="Coordinate Shader Propagate NaNs" size="1" start="226" type="bool"/> |