[xoreos-git] [xoreos/xoreos] 8dbced: GRAPHICS: Mark the two s3tc helper functions as in...

GitHub noreply at github.com
Wed Nov 30 23:58:20 CET 2016


  Branch: refs/heads/master
  Home:   https://github.com/xoreos/xoreos
  Commit: 8dbced34780d1439d13a75b2bdcb1c2cc74b1a84
      https://github.com/xoreos/xoreos/commit/8dbced34780d1439d13a75b2bdcb1c2cc74b1a84
  Author: Matthew Hoops <clone2727 at gmail.com>
  Date:   2016-11-30 (Wed, 30 Nov 2016)

  Changed paths:
    M src/graphics/images/s3tc.cpp

  Log Message:
  -----------
  GRAPHICS: Mark the two s3tc helper functions as inline

Inlining interpolate32 leads the compiler to optimize away the
subtraction and the overhead of the calling it up to twice per
4x4 block.




More information about the xoreos-git mailing list