commit | dd7948b3ae3fea788c9876b47900b2a4b9e66f11 | [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 | 91b7232040421124718471d0c8ee2c629dafe42d [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: https://angleproject.googlecode.com/svn/trunk@324 736b8ea6-26fd-11df-bfd4-992fa37f6226