home.social

#hellotriangle — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #hellotriangle, aggregated by home.social.

  1. #TIL that you can trigger frame captures on #metal :metal: programmatically, without needing to run your program through #Xcode

    Here's a frame capture of my Metal-cpp #HelloTriangle, taken from within itself!

  2. #TIL that you can trigger frame captures on #metal :metal: programmatically, without needing to run your program through #Xcode

    Here's a frame capture of my Metal-cpp #HelloTriangle, taken from within itself!

  3. :mac: 🤘🏻🔻

    #Metal :metal: + #glfw with #cpp code only.
    Had to avoid #objc because my custom build system can't deal with that yet (and I didn't feel like changing that).

    What a pain to get it to compile.

    BUT

    It's using the exact same shader as my #Vulkan :vulkan: #HelloTriangle thanks to #Slang ❤️

    AND

    ```
    $ wc -l src/main.cpp src/shaders/hello_triangle.slang
    134 src/main.cpp
    40 src/shaders/hello_triangle.slang
    164 total 
    ```

  4. :mac: 🤘🏻🔻

    #Metal :metal: + #glfw with #cpp code only.
    Had to avoid #objc because my custom build system can't deal with that yet (and I didn't feel like changing that).

    What a pain to get it to compile.

    BUT

    It's using the exact same shader as my #Vulkan :vulkan: #HelloTriangle thanks to #Slang ❤️

    AND

    ```
    $ wc -l src/main.cpp src/shaders/hello_triangle.slang
    134 src/main.cpp
    40 src/shaders/hello_triangle.slang
    164 total 
    ```

  5. @avimanyuroy Okay, best response to this definitely goes to @tojiro who put together a nice, tidy, straightforward, and helpfully commented Hello Triangle demo:
    github.com/toji/hello-triangle

    Ready for you to enjoy in the new Chrome Beta here:
    toji.github.io/hello-triangle-

    #webgpu #javascript #example #hellotriangle

  6. @avimanyuroy Okay, best response to this definitely goes to @tojiro who put together a nice, tidy, straightforward, and helpfully commented Hello Triangle demo:
    github.com/toji/hello-triangle

    Ready for you to enjoy in the new Chrome Beta here:
    toji.github.io/hello-triangle-

    #webgpu #javascript #example #hellotriangle

  7. @avimanyuroy Okay, best response to this definitely goes to @tojiro who put together a nice, tidy, straightforward, and helpfully commented Hello Triangle demo:
    github.com/toji/hello-triangle

    Ready for you to enjoy in the new Chrome Beta here:
    toji.github.io/hello-triangle-

    #webgpu #javascript #example #hellotriangle

  8. @avimanyuroy Okay, best response to this definitely goes to @tojiro who put together a nice, tidy, straightforward, and helpfully commented Hello Triangle demo:
    github.com/toji/hello-triangle

    Ready for you to enjoy in the new Chrome Beta here:
    toji.github.io/hello-triangle-

    #webgpu #javascript #example #hellotriangle

  9. @avimanyuroy Okay, best response to this definitely goes to @tojiro who put together a nice, tidy, straightforward, and helpfully commented Hello Triangle demo:
    github.com/toji/hello-triangle

    Ready for you to enjoy in the new Chrome Beta here:
    toji.github.io/hello-triangle-

    #webgpu #javascript #example #hellotriangle