diff options
author | Chad Versace <chad.versace@linux.intel.com> | 2013-11-03 13:14:50 -0800 |
---|---|---|
committer | Chad Versace <chad.versace@linux.intel.com> | 2013-11-03 15:55:18 -0800 |
commit | 2f896627175384fd5943f21804700a155ba4e8a0 (patch) | |
tree | 010dbd0e161174e860bb0463c5b002c95886a751 /src/gallium/auxiliary | |
parent | 68f1b274b06ed6f14cc8d069bee3cabc520fb553 (diff) |
i965: Add driconf option clamp_max_samples
The new option clamps GL_MAX_SAMPLES to a hardware-supported MSAA mode.
If negative, then no clamping occurs.
v2: (for Paul)
- Add option to i965 only, not to all DRI drivers.
- Do not realy on int->uint cast to convert negative
values to large positive values. Explicitly check for
clamp_max_samples < 0.
v3: (for Ken)
- Don't allow clamp_max_samples to alter context version.
- Use clearer for-loop and correct comment.
- Rename variables.
v4: (for Ken)
- Merge identical if-branches.
Reviewed-and-tested-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
Diffstat (limited to 'src/gallium/auxiliary')
0 files changed, 0 insertions, 0 deletions