diff options
author | Eric Anholt <eric@anholt.net> | 2010-11-19 18:27:41 +0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-11-19 19:09:18 -0800 |
commit | 02939d643f878ce3a3dcd2e7b2c6f035c64ecda7 (patch) | |
tree | f68a3826a9a8a3b68286303f48008200f2b49301 /src/mesa | |
parent | 602ae2441aaca6a652d3fc78114bb60852132f98 (diff) |
glsl: Add a helper function for determining if an rvalue could be a saturate.
Hardware pretty commonly has saturate modifiers on instructions, and
this can be used in codegen to produce those, without everyone else
needing to understand clamping other than min and max.
Diffstat (limited to 'src/mesa')
0 files changed, 0 insertions, 0 deletions