Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: notaz/mesa
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: notaz/mesa
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: warnings
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 7 commits
  • 19 files changed
  • 1 contributor

Commits on Apr 18, 2016

  1. util: add __maybe_unused for config dependent variables

    This is mostly for variables that are only used in asserts and cause
    unused-but-set-variable warnings in release builds. Could just use
    UNUSED directly, but __maybe_unused should be less confusing and
    matches what the Linux kernel has.
    
    And yes __attribute__((unused)) can be used on variables on both GCC 4.2
    (oldest supported by mesa) and clang 3.0 (just some random old version,
    nut sure what's the minimum for mesa).
    
    Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
    notaz committed Apr 18, 2016
    Configuration menu
    Copy the full SHA
    80b8501 View commit details
    Browse the repository at this point in the history
  2. glsl: fix warning in release build

    Mark variable __maybe_unused to avoid unused-but-set-variable warning in
    release build.
    
    Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
    notaz committed Apr 18, 2016
    Configuration menu
    Copy the full SHA
    86007ac View commit details
    Browse the repository at this point in the history
  3. gallium: fix warnings in release build

    Mark variables __maybe_unused to avoid unused-but-set-variable warnings
    in release build.
    
    Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
    notaz committed Apr 18, 2016
    Configuration menu
    Copy the full SHA
    b275646 View commit details
    Browse the repository at this point in the history
  4. spirv: fix warning in release build

    Mark variable __maybe_unused to avoid unused-but-set-variable warning in
    release build.
    
    Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
    notaz committed Apr 18, 2016
    Configuration menu
    Copy the full SHA
    11dbe85 View commit details
    Browse the repository at this point in the history
  5. isl: fix warnings in release build

    Mark variables __maybe_unused to avoid unused-but-set-variable warnings
    in release build.
    
    Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
    notaz committed Apr 18, 2016
    Configuration menu
    Copy the full SHA
    323b416 View commit details
    Browse the repository at this point in the history
  6. anv: fix warnings in release build

    Mark variables __maybe_unused to avoid unused-but-set-variable warnings
    in release build.
    
    Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
    notaz committed Apr 18, 2016
    Configuration menu
    Copy the full SHA
    e033853 View commit details
    Browse the repository at this point in the history
  7. gallium: use unreachable instead of asserts

    Avoids warnings in release builds.
    
    Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
    notaz committed Apr 18, 2016
    Configuration menu
    Copy the full SHA
    1a935ae View commit details
    Browse the repository at this point in the history
Loading