External Publication
Visit Post

jME 3.10.0-alpha5

jMonkeyEngine Hub May 31, 2026
Source

RiccardoBlb:

By the way, I can also change the default platform for windows in our angle build if there is a reason to use vulkan instead of directx11.

Nah, I’m just curious about how ANGLE normalizes shaders across different APIs. I mostly figured it out, just wanted to boot up Vulkan and play around.

angle/src/libANGLE/renderer/vulkan/doc/ShaderModuleCompilation.md at main · google/angle

I attempted to set ANGLE_DEFAULT_PLATFORM=vulkan, but still encountered the same error.

Try to read the source code. The conclusion I can draw is that the Vulkan initialization failed, but I don’t know why…

github.com/google/angle

src/libANGLE/renderer/vulkan/vk_renderer.cpp

c01fdb750

    2429.     }


    2430.

    2431.     // Verify the required extensions are in the extension names set. Fail if not.


    2432.     std::sort(mEnabledInstanceExtensions.begin(), mEnabledInstanceExtensions.end(), StrLess);


    2433.     ANGLE_VK_TRY(context,


    2434.                  VerifyExtensionsPresent(instanceExtensionNames, mEnabledInstanceExtensions));


    2435.

    2436.     return angle::Result::Continue;


    2437. }


    2438.

    2439. angle::Result Renderer::initialize(vk::ErrorContext *context,


    2440.                                    vk::GlobalOps *globalOps,


    2441.                                    angle::vk::ICD desiredICD,


    2442.                                    uint32_t preferredVendorId,


    2443.                                    uint32_t preferredDeviceId,


    2444.                                    const uint8_t *preferredDeviceUuid,


    2445.                                    const uint8_t *preferredDriverUuid,


    2446.                                    VkDriverId preferredDriverId,


    2447.                                    UseDebugLayers useDebugLayers,


    2448.                                    const char *wsiExtension,


    2449.                                    const char *wsiLayer,

Discussion in the ATmosphere

Loading comments...