Set stencil ref value to 255 (8 bitplanes) 2^8-1=255
Merge pull request #4105 from raven02/patch-29

Set stencil ref value to 255 (8 bitplanes) 2^8-1=255