• leopold@lemmy.kde.social
      link
      fedilink
      English
      arrow-up
      6
      ·
      edit-2
      6 months ago

      How? D3D9 only needs HLSL 3. Perhaps you meant adding support for newer D3D versions? D3D10 and D3D11 support are certainly possible, though even still D3D11 only needs HLSL 5. As for D3D12, it would be impossible for the same reason Vulkan on Gallium is impossible; it’s too low level.

      Anyway, I’ve used Gallium-Nine with RadeonSI. It works fine. It can even be faster than DXVK, sometimes. Other times, DXVK is faster. They’re about on par. Which kinda begs the question, what’s the point? Gallium-Nine isn’t substantially faster than DXVK and is much less portable, since it requires a Gallium3D driver to work, so it won’t work for Nvidia. The Nouveau Gallium3D driver is way too slow to come close to DXVK. Zink + Gallium-Nine probably works, but I also can’t see that beating DXVK. That’s the reason Gallium-Nine died. Not because they didn’t have the latest HLSL, but because DXVK killed interest in the project.

      • FuckBigTech347@lemmygrad.ml
        link
        fedilink
        arrow-up
        2
        ·
        5 months ago

        Gallium-Nine also tends to be buggy if used with 32-bit software in particular. All the 32-bit games I’ve tried have problems with it. They usually work fine for the first 30-60 minutes and after that the framerate becomes unstable to the point where the game becomes unplayable. It happens consistently with Gallium-nine but not at all with DXVK.

      • bruhduh@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        6 months ago

        Yes, I’ve meant adding new version support, my idea is, easier native game development for Linux would be great, and having directx open sourced will be a step in that direction, albeit small but still it is a step in right direction

  • AutoTL;DR@lemmings.worldB
    link
    fedilink
    English
    arrow-up
    5
    ·
    6 months ago

    This is the best summary I could come up with:


    Microsoft’s open-source DirectX Shader Compiler that is open-source and derived from the LLVM/Clang compiler infrastructure is out with a significant new release as it begins preparing for “HLSL 202x” as a big leap for the High-Level Shader Language.

    With today’s DirectX Compiler v1.8.2405 release, just the first component of HLSL 202x is being rolled out.

    It is intended to serve as a bridge to help transition to the expected behavior of the modernized compiler.

    In previous versions, un-suffixed literal types targeted the highest possible precision.

    We are eager for feedback about this build positive or negative, related to compile times or correctness."

    Downloads – both the source code and Windows / Linux binaries – and more information on today’s DirectX Compiler v1.8.2405 release can be found via GitHub.


    The original article contains 325 words, the summary contains 128 words. Saved 61%. I’m a bot and I’m open source!