Files
mesa/src
Iago Toral Quiroga 0934bd4460 v3d: fix packet descriptions for geometry and tessellation shaders
Every code address starts at bit 3 (addresses must be 64-bit aligned),
with the first 3 bits used to specify threading and NaN propagation
parameters for the shader program.

We generally skip "reserved" bits, however, doing this when the
reserved field is the last in a struct and it is large enough can
make us compute incorrect (smaller) struct sizes which can
lead to corrupt CLs. In particular, the "Tess/Geom Common Params"
struct has a reserved field at the end that is 8-bit, so if we
don't include this we compute a packet size that is 1 byte smaller
than it shold, making the next packet we emit start 1 byte
earlier and therefore leading to incorrect CL data from that point
forward.

The name of one of the fields was not correct.

Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
2019-12-16 08:42:37 +01:00
..
2019-11-13 12:39:14 +00:00
2019-11-21 22:56:04 +00:00
2019-12-16 04:52:09 +00:00
2019-11-07 06:11:19 -08:00
2019-10-01 10:31:02 +00:00
2019-12-13 20:53:44 +00:00
2018-10-19 16:50:26 +01:00