diff options
author | Zack Rusin <[email protected]> | 2013-06-10 23:36:59 -0400 |
---|---|---|
committer | Zack Rusin <[email protected]> | 2013-06-13 12:13:11 -0400 |
commit | 5507c11f85dda4fbcdc9b36494551c933471a070 (patch) | |
tree | ded8a6152801200b5b6d79f02a180f838e7af763 /src/gallium/auxiliary/translate | |
parent | b63eeaf7b7df83a2c52c5ddb701454fd8a49b987 (diff) |
gallium/draw: add limits to the clip and cull distances
There are strict limits on those registers. Define the maximums
and use them instead of magic numbers. Also allows us to add
some extra sanity checks.
Suggested by Brian.
Signed-off-by: Zack Rusin <[email protected]>
Reviewed-by: Roland Scheidegger <[email protected]>
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/translate')
0 files changed, 0 insertions, 0 deletions