Announcement

Collapse
No announcement yet.

NIR Improvements Land In Mesa 19.1, Helping RadeonSI & Intel

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • NIR Improvements Land In Mesa 19.1, Helping RadeonSI & Intel

    Phoronix: NIR Improvements Land In Mesa 19.1, Helping RadeonSI & Intel

    Over the past day there has been some notable NIR improvements landing in Mesa 19.1...

    http://www.phoronix.com/scan.php?pag...g-Vectorize-IO

  • #2
    The Tomb Raider 2016 game is the slowest in shader generating. Even the Shadow of the Tomb Raider with dxvk is faster. As games, Tomb Raider 2013 and older TR games are more fun and work fast with wine-staging.

    Comment


    • #3
      I do use NIR for all my OpenGL games with RadeonSI and it works great, I expected some flaws but it just works :-)

      Comment


      • #4
        How to use NIR with RadeonSI ?

        Comment


        • #5
          When enabling it for RadeonSI, a shader-db shader compilation test dropped from 40 to 30 seconds. While it's quite an improvement to the shader compilation time, RadeonSI's existing TGSI shader compiler back-end can handle the same collection in about 19 seconds.
          This is not a completely fair comparison, since TGSI was not really geared towards optimization, while NIR can heavily optimize the shader.

          Originally posted by berillions View Post
          How to use NIR with RadeonSI ?
          Use the AMD_DEBUG=nir environment variable (or R600_DEBUG=nir if you use an older mesa version).

          Comment


          • #6
            Originally posted by Venemo View Post
            Use the AMD_DEBUG=nir environment variable (or R600_DEBUG=nir if you use an older mesa version).
            Is there any different between radeonsi_enable_nir and AMD_DEBUG=nir? I noticed the first one using xdriinfo options 0 on my r9 290 and have been using it ever since on my global environtment.

            Comment


            • #7
              Originally posted by R41N3R View Post
              I do use NIR for all my OpenGL games with RadeonSI and it works great, I expected some flaws but it just works :-)
              You, too?
              bindless is missing (some), currently...

              Comment


              • #8
                Originally posted by Venemo View Post

                This is not a completely fair comparison, since TGSI was not really geared towards optimization, while NIR can heavily optimize the shader.
                This ist TRUE ;-)

                Use the AMD_DEBUG=nir environment variable (or R600_DEBUG=nir if you use an older mesa version).
                Try AMD_DEBUG=nir,sisched (or the old version), too.

                Comment

                Working...
                X