diff options
author | Eric Anholt <[email protected]> | 2018-06-08 08:31:30 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2018-06-14 16:52:25 -0700 |
commit | 0eef4d7f8fd2fc4d1a0dc0d1a583cbccbd9349d6 (patch) | |
tree | f9bee8c41d6af557c50449399adf6410f94142cd /src | |
parent | 7d8fe50af32dff78207b9e259541372bc1730607 (diff) |
v3d: Fix the size of the packed attribute state.
Fixes segfaults in dEQP-GLES3.functional.vertex_array_objects.all_attributes.
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/v3d/v3d_context.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/v3d/v3d_context.h b/src/gallium/drivers/v3d/v3d_context.h index a22e1e76ed2..f74541fae33 100644 --- a/src/gallium/drivers/v3d/v3d_context.h +++ b/src/gallium/drivers/v3d/v3d_context.h @@ -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; }; |