summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2018-06-06 20:36:44 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2018-06-07 15:05:26 +0300
commitd1a93aa7e1507de76c6c71be15931cc4b90111bb (patch)
tree322efec007ba8d6732a3ee4859d846fd767a54b6 /tests
parent170195b5e744629c334bc8da8d52ee25e4d4cbe4 (diff)
lib/igt_fb: Round to nearest when clamping rgb
I think round to nearest is maybe more correct here. Also do the clamp with integers as it actually makes the resulting code measurably faster. Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions