ShaderEmu Boots Linux Inside a Pixel Shader, Runs Doom in VRChat
Michael_Moroz_ · x · 2026-10-17
Developer Michael Moroz open-sourced ShaderEmu: a complete 32-bit RISC-V computer emulated entirely in a pixel shader, capable of booting Linux to a desktop, with its own emulated GPU, and running Doom. The target is VRChat, which only allows Direct3D 11 graphics shaders (no compute shaders, no UAVs), so the whole machine lives in textures rewritten by fragment shaders each frame.
Technical notes from the author:
- Performance comes from optimizing games heavily and spreading work across as many cores as possible; the GPU emulates a 256-core slow RISC-V CPU at roughly 4MIPS per core
- Requires a beefy GPU: GPUs are poor CPU emulators, and clock speed and latency matter more than core count
- The author believes Half Life should be feasible with this approach
MIT-licensed on GitHub, currently 18 stars.
Related event: ShaderEmu boots Linux inside VRChat using only a pixel shader(2 posts)→
More from Fun
- Grok's open-source retreat mocked: real open weights promised but never shipped — teortaxesTex · 2026-12-02
- RL researcher Michal Valko wins ESET Science Award, jokes about the backdrop — misovalko · 2026-12-02
- Researcher mocks SF AI jargon: what does 'outside the convex hull' even mean? — PMinervini · 2026-12-02
- Gemini's unbridled enthusiasm: 'good thing you pushed for that check!' — AI_Andrew · 2026-12-02
- Man Goes on Hunger Strike 'Until the AI Bubble Pops', Internet Responds with Skeleton Memes — Ambitious_Quality725 · 2026-12-02
- Dev finds stranger racked up ~$50 on his shared Gemini API key — tristanbob · 2026-12-02