Announcement

Collapse
No announcement yet.

Intel Vulkan Linux Driver Lands Cull & Clip Distance Support

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

  • Intel Vulkan Linux Driver Lands Cull & Clip Distance Support

    Phoronix: Intel Vulkan Linux Driver Lands Cull & Clip Distance Support

    After a number of commits landed in mainline Mesa Git in the early hours of this morning, cull and clip distance support has been enabled for the open-source Intel Vulkan "ANV" Linux driver...

    http://www.phoronix.com/scan.php?pag...-Clip-Distance

  • #2
    What about more code sharing with other drivers too?

    Comment


    • #3
      Originally posted by timofonic View Post
      What about more code sharing with other drivers too?
      I don't think you can have many cross-vendor similarities (that can take meaningful advantage of code sharing) in a vulkan implementation. What do you think should/could be shared here?

      Comment


      • #4
        Originally posted by timofonic View Post
        What about more code sharing with other drivers too?
        The whole point of Vulkan was to only provide the bare minimum driver to run the hardware, which means that code sharing between different drivers isn't really possible. The shared code bits are now part of the client application code (game) not the drivers.

        There's a bit that's already done (WSI, SPIRV->NIR) and that's pretty much all of it.

        Comment


        • #5
          As smitty said, various stages up to NIR are already shared. When transforming from NIR to driver-specific code, there's less sharing. The radv driver uses a NIR->LLVM pass which could conceivably eventually be used by other drivers, but even them there's a bunch of radeon/amdgpu specific stuff going on there.

          Comment


          • #6
            Originally posted by timofonic View Post
            What about more code sharing with other drivers too?
            There's actually not much left to share. The SPIR-V support is shared between anv and radv. The compiler backend and ISL/BLORP are both shared between anv/i965 (though there is more i965 code we can delete).

            The only Intel-Vulkan specific code left is in src/intel/vulkan, and it's only 35 .c/.h files with about 21,000 lines of code. That's smaller than some abstraction layers.

            Comment

            Working...
            X