commit | 3f78517e5496a7cf462a39f7a2c794a59daf299b | [log] [tgz] |
---|---|---|
author | daniel@transgaming.com <daniel@transgaming.com@736b8ea6-26fd-11df-bfd4-992fa37f6226> | Wed Jun 02 16:12:34 2010 +0000 |
committer | daniel@transgaming.com <daniel@transgaming.com@736b8ea6-26fd-11df-bfd4-992fa37f6226> | Wed Jun 02 16:12:34 2010 +0000 |
tree | 94de1bf5099eef361443479acd96060d4912d6ed | |
parent | ebcd67e968d86bfcf3ecc81aebb6e920c95331c5 [diff] |
According to spec, the stencil ref is clamped to the range [0,2^s-1] The clamp to zero occurs on set since negative values will never be useful. The clamp to 2^s - 1 occurs on use since it is dependant on the currently bound stencil buffer Original-Author: Jim Hauxwell <james@dattrax.co.uk> Signed-off-by: Daniel Koch git-svn-id: http://angleproject.googlecode.com/svn/trunk@324 736b8ea6-26fd-11df-bfd4-992fa37f6226