• Ilia Mirkin's avatar
    nvc0: respect edgeflag attribute width · e05021ff
    Ilia Mirkin authored
    
    
    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's avatarIlia Mirkin <imirkin@alum.mit.edu>
    Cc: mesa-stable@lists.freedesktop.org
    e05021ff
nvc0_vbo_translate.c 19.8 KB