1. 28 Jun, 2017 1 commit
    • Jason Ekstrand's avatar
      spirv: Work around the Doom shader bug · 6af4b0fd
      Jason Ekstrand authored
      Doom shipped with a broken version of GLSLang which handles samplers as
      function arguments in a way that isn't spec-compliant.  In particular,
      it creates a temporary local sampler variable and copies the sampler
      into it.  While Dave has had a hack patch out for a while that gets it
      working, we've never landed it because we've been hoping that a game
      update would come out with fixed shaders.  Unfortunately, no game update
      appears on to be on the horizon and I've found this issue in yet another
      application so I think we're stuck working around it.  Hopefully, we can
      delete this code one day.
      
      Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99467
      Cc: "17.1" <mesa-stable@lists.freedesktop.org>
      Tested-by: Grazvydas Ignotas's avatarGrazvydas Ignotas <notasas@gmail.com>
      Reviewed-by: default avatarDave Airlie <airlied@redhat.com>
      (cherry picked from commit 1bd0acab)
      6af4b0fd
  2. 14 Jun, 2017 1 commit
  3. 01 Jun, 2017 1 commit
    • Timothy Arceri's avatar
      st/mesa: don't mark the program as in cache_fallback when there is cache miss · 7e9129f4
      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>
      (cherry picked from commit 80e64334)
      Signed-off-by: Juan Suárez Romero's avatarJuan A. Suarez Romero <jasuarez@igalia.com>
      7e9129f4
  4. 19 May, 2017 1 commit
  5. 05 May, 2017 1 commit
    • Eric Anholt's avatar
      nir: Pick just the channels we want for bitmap and drawpixels lowering. · cabca718
      Eric Anholt authored
      NIR now validates that SSA references use the same number of channels as
      are in the SSA value.
      
      v2: Reword commit message, since the commit didn't land before the
          validation change did.
      
      Fixes: 370d68ba ("nir/validate: Validate that bit sizes and components always match")
      Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> (v1)
      Cc: <mesa-stable@lists.freedesktop.org>
      (cherry picked from commit fba6559a)
      cabca718
  6. 17 Apr, 2017 1 commit
  7. 15 Apr, 2017 2 commits
  8. 14 Apr, 2017 2 commits
  9. 13 Apr, 2017 2 commits
  10. 11 Apr, 2017 3 commits
  11. 08 Apr, 2017 1 commit
  12. 05 Apr, 2017 5 commits
  13. 04 Apr, 2017 1 commit
  14. 03 Apr, 2017 1 commit
  15. 31 Mar, 2017 2 commits
  16. 30 Mar, 2017 4 commits
  17. 29 Mar, 2017 1 commit
  18. 28 Mar, 2017 10 commits