diff options
author | Zack Rusin <[email protected]> | 2013-07-02 23:56:59 -0400 |
---|---|---|
committer | Zack Rusin <[email protected]> | 2013-07-03 09:06:30 -0400 |
commit | bbd1e60198548a12be3405fc32dd39a87e8968ab (patch) | |
tree | 3d5f40a23d402c74697502ec2a16a3d8517053b5 /src/gallium/drivers/llvmpipe | |
parent | 09820902d74eec1eed054388f6999cd66227b6b1 (diff) |
draw: fix overflows in the indexed rendering paths
The semantics for overflow detection are a bit tricky with
indexed rendering. If the base index in the elements array
overflows, then the index of the first element should be used,
if the index with bias overflows then it should be treated
like a normal overflow. Also overflows need to be checked for
in all paths that either the bias, or the starting index location.
Signed-off-by: Zack Rusin <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/gallium/drivers/llvmpipe')
0 files changed, 0 insertions, 0 deletions