projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d8fe50
)
v3d: Fix the size of the packed attribute state.
author
Eric Anholt
<eric@anholt.net>
Fri, 8 Jun 2018 15:31:30 +0000
(08:31 -0700)
committer
Eric Anholt
<eric@anholt.net>
Thu, 14 Jun 2018 23:52:25 +0000
(16:52 -0700)
Fixes segfaults in dEQP-GLES3.functional.vertex_array_objects.all_attributes.
src/gallium/drivers/v3d/v3d_context.h
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/v3d/v3d_context.h
b/src/gallium/drivers/v3d/v3d_context.h
index a22e1e76ed2fef300c80fd012c48099c9e8f0248..f74541fae337f5ce7ef5b293acf99cdddaec6417 100644
(file)
--- 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[1
2
* VC5_MAX_ATTRIBUTES];
+ uint8_t attrs[1
6
* VC5_MAX_ATTRIBUTES];
struct v3d_bo *default_attribute_values;
};