diff options
author | Brian Paul <brianp@vmware.com> | 2009-06-03 17:09:03 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-06-03 17:16:00 -0600 |
commit | f25e1007c2da21dc529811e9e1f4b4da6bda8be4 (patch) | |
tree | e969c33f3e5740718c6208e032b931274580425d /src/gallium/drivers/nv20/nv20_prim_vbuf.c | |
parent | 0b6a0b367fdb575048b69d80ad4202d164a61f1e (diff) |
swrast: always do span clipping in _swrast_write_rgba_span()
It's possible for mis-behaving vertex programs to produce vertex data
with very large/NaN values. This doesn't get handled reliably by the
clipper code so we may try to rasterize triangles that extend beyond
the viewport/window. Always clip spans to avoid invalid memory accesses
later.
Diffstat (limited to 'src/gallium/drivers/nv20/nv20_prim_vbuf.c')
0 files changed, 0 insertions, 0 deletions