summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i965/brw_sf.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2010-11-19 18:27:41 +0800
committerEric Anholt <eric@anholt.net>2010-11-19 19:09:18 -0800
commit02939d643f878ce3a3dcd2e7b2c6f035c64ecda7 (patch)
treef68a3826a9a8a3b68286303f48008200f2b49301 /src/mesa/drivers/dri/i965/brw_sf.c
parent602ae2441aaca6a652d3fc78114bb60852132f98 (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/drivers/dri/i965/brw_sf.c')
0 files changed, 0 insertions, 0 deletions