v3d: Fix the size of the packed attribute state.

Fixes segfaults in dEQP-GLES3.functional.vertex_array_objects.all_attributes.
This commit is contained in:
Eric Anholt 2018-06-08 08:31:30 -07:00
parent 7d8fe50af3
commit 0eef4d7f8f

View file

@ -183,7 +183,7 @@ struct v3d_vertex_stateobj {
struct pipe_vertex_element pipe[VC5_MAX_ATTRIBUTES];
unsigned num_elements;
uint8_t attrs[12 * VC5_MAX_ATTRIBUTES];
uint8_t attrs[16 * VC5_MAX_ATTRIBUTES];
struct v3d_bo *default_attribute_values;
};