1. 21 Jun, 2017 14 commits
  2. 15 Jun, 2017 1 commit
  3. 14 Jun, 2017 2 commits
  4. 09 Jun, 2017 1 commit
  5. 08 Jun, 2017 1 commit
  6. 07 Jun, 2017 1 commit
  7. 06 Jun, 2017 1 commit
  8. 02 Jun, 2017 1 commit
  9. 22 May, 2017 1 commit
  10. 20 May, 2017 1 commit
  11. 19 May, 2017 2 commits
    • Timothy Arceri's avatar
      st/mesa: don't mark the program as in cache_fallback when there is cache miss · 80e64334
      Timothy Arceri authored
      When we fallback currently the gl_program objects are re-allocated.
      
      This is likely to change when the i965 cache lands, but for now
      this fixes a crash when using MESA_GLSL=cache_fb. This env var
      simulates the fallback path taken when a tgsi cache item doesn't
      exist due to being evicted previously or some kind of error.
      
      Unlike i965 we are always falling back at link time so it's safe to
      just re-allocate everything. We will be unnecessarily freeing and
      re-allocate a bunch of things here but it's probably not a huge deal,
      and can be changed when the i965 code lands.
      
      Fixes: 0e9991f9 ("glsl: don't reference shader prog data during cache fallback")
      Reviewed-by: default avatarNicolai Hähnle <nicolai.haehnle@amd.com>
      80e64334
    • Timothy Arceri's avatar
      mesa: add an env var to force cache fallback · a74300c7
      Timothy Arceri authored
      For the gallium state tracker a tgsi binary may have been evicted
      from the cache to make space. In this case we would take the
      fallback path and recompile/link the shader.
      
      On i965 there are a number of reasons we can get to the program
      upload stage and have neither IR nor a valid cached binary.
      For example the binary may have been evicted from the cache or
      we need a variant that wasn't previously cached.
      
      This environment variable enables us to force the fallback path that
      would be taken in these cases and makes it easier to debug these
      otherwise hard to reproduce scenarios.
      Reviewed-by: default avatarNicolai Hähnle <nicolai.haehnle@amd.com>
      a74300c7
  12. 17 May, 2017 1 commit
  13. 11 May, 2017 1 commit
  14. 10 May, 2017 1 commit
  15. 06 May, 2017 2 commits
  16. 26 Apr, 2017 2 commits
  17. 22 Apr, 2017 1 commit
  18. 15 Apr, 2017 1 commit
  19. 08 Apr, 2017 2 commits
  20. 05 Apr, 2017 3 commits