Windows: 277 Linux: 298

  • iocase@lemmy.zip
    link
    fedilink
    English
    arrow-up
    4
    ·
    18 hours ago

    I love Vulkan so much. Having everything precompiled ahead of time is probably a big contributing factor on why your machine is running cooler. It’s just pulling from the shader cache instead of doing on the fly computation for shaders.

      • iocase@lemmy.zip
        link
        fedilink
        English
        arrow-up
        2
        ·
        16 hours ago

        The long and short of it is that Vulkan and other modern graphics APIs are extremely explicit. As the game developer, you tell the GPU exactly what resources are being used, when they’re available, and how work is synchronized. Once you’ve built those command buffers, the driver mostly just submits them to the hardware “fire and forget” style basically.

        Older APIs like OpenGL and Direct3D 11 were much higher level. You described what you wanted to draw, and the graphics driver figured out resource transitions, synchronization, and a lot of the scheduling behind the scenes. That made them easier to use but also added CPU overhead and made performance less predictable.