Announcement

Collapse
No announcement yet.

RadeonSI Driver Switches To NIR, Thereby Enabling OpenGL 4.6 By Default For AMD GPUs

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

  • RadeonSI Driver Switches To NIR, Thereby Enabling OpenGL 4.6 By Default For AMD GPUs

    Phoronix: RadeonSI Driver Switches To NIR, Thereby Enabling OpenGL 4.6 By Default For AMD GPUs

    Mesa 20.0 due out in Q1'2020 is now the magical release that is set to switch on RadeonSI NIR usage by default in place of the TGSI intermediate representation. What makes this IR switch-over prominent is that OpenGL 4.6 is then enabled by default on this open-source Gallium3D driver supporting Radeon HD 7000 series GPUs and newer...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite

  • #2
    This is nice to see. I might be plucking this out thin air, but I thought I read NIR was needed for Valves ACO to support OpenGL. Eitherway, the performance benefits and feature support of NIR are welcome.

    Does this mean mesa has full OpenGL support for the first time?

    Comment


    • #3
      Originally posted by LeJimster View Post
      Does this mean mesa has full OpenGL support for the first time?
      i965 and iris are both already conformant OpenGL 4.6 implementations, as will be shipping in Mesa 19.3.

      Comment


      • #4
        Originally posted by LeJimster View Post
        This is nice to see. I might be plucking this out thin air, but I thought I read NIR was needed for Valves ACO to support OpenGL. Eitherway, the performance benefits and feature support of NIR are welcome.

        Does this mean mesa has full OpenGL support for the first time?
        If you mean for OpenGL Core profiles, then Intel got there first.

        The last three years has been amazing for feature development on Intel and RadeonSI drivers. Many kudos to all the devs that has been part of this!!

        Comment


        • #5
          Will the TGSI path get removed eventually? (or is this not how any of this works? :P sorry, am a noob)

          Comment


          • #6
            Great, just went ahead and enabled it for myself, all test worked perfectly fine in the last weeks.

            Comment


            • #7
              Originally posted by StandaSK View Post
              Will the TGSI path get removed eventually? (or is this not how any of this works? :P sorry, am a noob)
              That's not a dumb question. Most of the drivers now use NIR, it seems, so it's likely that TGSI will be factored out.

              Comment


              • #8
                virgl and vmware's stuff still use TGSI, so it's not likely to go away completely. But it certainly seems like it's getting shuffled off to irrelevance, and that's a good thing IMO.

                I'm really glad to see basically all of Mesa unified on a single IR now.
                Free Software Developer .:. Mesa and Xorg
                Opinions expressed in these forum posts are my own.

                Comment


                • #9
                  Originally posted by microcode View Post

                  That's not a dumb question. Most of the drivers now use NIR, it seems, so it's likely that TGSI will be factored out.
                  Depends on the API. Vulkan and OpenGL both have NIR support, but things like vdpau and va-api don't (to my recollection). Clover has some support for ingesting SPIRV shaders and translating to NIR, but compiling from CL source programs for radeonsi/r600 still requires clang/llvm to work.

                  I also don't remember which IRs the nine state tracker requires, but d9vk might make that less of an issue than it once would've been.

                  Comment


                  • #10
                    Originally posted by Veerappan View Post
                    things like vdpau and va-api don't (to my recollection).
                    vaapi is using TGSI?

                    Comment

                    Working...
                    X