1. 23 Dec, 2018 1 commit
  2. 21 Dec, 2018 4 commits
  3. 18 Dec, 2018 9 commits
  4. 17 Dec, 2018 8 commits
  5. 16 Dec, 2018 3 commits
  6. 14 Dec, 2018 6 commits
  7. 13 Dec, 2018 2 commits
  8. 10 Dec, 2018 1 commit
    • Lyude Paul's avatar
      Use fabs() for vec4 viewport calculation · 05e5a300
      Lyude Paul authored
      My vim config uses llvm for code completion, and picked up this:
      
      ../../Projects/panfrost/mesa/src/gallium/drivers/panfrost/pan_context.c:1250:17: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value]
                      abs(vp->scale[1]),
                      ^
      ../../Projects/panfrost/mesa/src/gallium/drivers/panfrost/pan_context.c:1250:17: note: use function 'fabsf' instead
                      abs(vp->scale[1]),
                      ^~~
                      fabsf
      ../../Projects/panfrost/mesa/src/gallium/drivers/panfrost/pan_context.c:1253:47: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value]
                      /* -1.0 * vp->translate[1] */ abs(1.0 * vp->scale[1]) /* XXX */
                                                    ^
      ../../Projects/panfrost/mesa/src/gallium/drivers/panfrost/pan_context.c:1253:47: note: use function 'fabs' instead
                      /* -1.0 * vp->translate[1] */ abs(1.0 * vp->scale[1]) /* XXX */
                                                    ^~~
                                                    fabs
      
      Yikes! That's sure to break something, so let's fix that.
      Signed-off-by: Lyude Paul's avatarLyude Paul <lyude@redhat.com>
      05e5a300
  9. 27 Nov, 2018 1 commit
  10. 21 Nov, 2018 3 commits
  11. 20 Nov, 2018 2 commits