diff options
author | Zack Rusin <[email protected]> | 2013-05-25 01:04:17 -0400 |
---|---|---|
committer | Zack Rusin <[email protected]> | 2013-05-25 09:49:20 -0400 |
commit | c88ce3480c715ab40f4d488c86c90213b1472613 (patch) | |
tree | 9a73611bc0035c57ea978af663e0117d7342b6ff /src/gallium/auxiliary/gallivm/lp_bld_printf.c | |
parent | d7d676252d2ae1fd6d3dd76d4e205251ad7c6152 (diff) |
llvmpipe: clamp scissors to be between 0 and max
We need to clamp to make sure invalid shader doesn't crash our
driver. The spec says to return 0-th index for everything that's
out of bounds.
Signed-off-by: Zack Rusin <[email protected]>
Reviewed-by: José Fonseca<[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_printf.c')
0 files changed, 0 insertions, 0 deletions