12 votes

Linux in a Pixel Shader - A RISC-V Emulator for VRChat

4 comments

  1. Protected
    Link
    I saw this the other day but couldn't get the little keyboard to work, at least within VR (the emulator itself was clearly running though.)

    I saw this the other day but couldn't get the little keyboard to work, at least within VR (the emulator itself was clearly running though.)

    2 votes
  2. [3]
    arghdos
    Link
    Implementing this all in HLSL is stupendously amazing (given the basic language features it lacks like function pointers and array indexing). I wonder what it would look like in CUDA where you can...

    Implementing this all in HLSL is stupendously amazing (given the basic language features it lacks like function pointers and array indexing). I wonder what it would look like in CUDA where you can at least do almost all of basic C.

    2 votes
    1. [2]
      Flashynuff
      Link Parent
      The whole section about needing to avoid excess function calls because they get recursively inlined in HLSL was incredible

      The whole section about needing to avoid excess function calls because they get recursively inlined in HLSL was incredible

      2 votes
      1. arghdos
        Link Parent
        Made me wonder what happens in some of my Kokkos programs where every memory access is an inlined function, I suppose really I should check the size of the kernel and see if it fits in the...

        Made me wonder what happens in some of my Kokkos programs where every memory access is an inlined function, I suppose really I should check the size of the kernel and see if it fits in the instruction cache :)

        2 votes