-
Committer:
John S Gruber
-
Date:
2013-06-13 04:11:59 UTC
-
Revision ID:
johnsgruber@gmail.com-20130613041159-ufqxrpj7o1t5imlu
* debian/patches/02-radeon-le-blur.patch:
[John S. Gruber
* Since the linear sample mechanism gets data of neighbouring pixels with
each sample, use this fact to reduce the number of samples obtained
from the texture. This allows higher sigmas to be used than
otherwise. In particular it allows sigma = 3.0 to be used for blurs for
some Radeon GPU's. The offsets generated for a sigma of 3.0 are 0.00,
+/- 1.45, +/- 3.40, +/- 5.35, +/ -7.30, covering plus and minus pixels
0, 1-2, 3-4, 5-6, and 6-8.
Fixes the return value to give the total number
of weights and offsets rather than that number minus 1, leaving
enough room in the shader vectors for all values.
[John S. Gruber]
* Perform clamping in the Linear Sampling Gaussian shaders as it doesn't seem
to be done by the Radeon RS690. Closes LP: #1167018.