~jsjgruber/+junk/vvvnux

Viewing all changes in revision 812.

  • Committer: John S Gruber
  • Date: 2013-08-05 02:09:55 UTC
  • Revision ID: johnsgruber@gmail.com-20130805020955-xbui21o17pu2dvpx
The number of samples in a sigma of x is x*3 + 1. Store shader programs
by sigma rather than by num_samples, which is the number of one-sided
samples, including the zero sample. The number of programs is limited
by NUX_MAX_SIGMA, and is set to the current maximum to avoid a segment
fault. We need to revisit this if the number of samples can be different
at a certain sigma.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: