diff options
author | Ilia Mirkin <[email protected]> | 2015-10-23 02:14:31 -0400 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2015-10-23 16:43:06 -0400 |
commit | e05021ff72abb7de6506c90dd70a9f7ab490bf90 (patch) | |
tree | 4cd27dcbcc36961ba9e396b03e3063f4d3418963 /src/gallium/drivers/nouveau/nouveau_screen.c | |
parent | ea421e919ae6e72e1319fb205c42a6fb53ca2f82 (diff) |
nvc0: respect edgeflag attribute width
The edgeflag comes in as ubyte with glEdgeFlagPointer but as float with
plain immediate glEdgeFlag. Avoid reading bytes that weren't meant for
the edgeflag in the pointer case.
Fixes intermittent failures with gl-2.0-edgeflag piglit (and valgrind
complaints about reading uninitialized memory).
Signed-off-by: Ilia Mirkin <[email protected]>
Cc: [email protected]
Diffstat (limited to 'src/gallium/drivers/nouveau/nouveau_screen.c')
0 files changed, 0 insertions, 0 deletions