← All resources

An interpreter for HLSL that can run shader code on the CPU.

Auto-discovered

Library / Codebase Intermediate

pema99

Visit resource ↗

Description

An interpreter for HLSL that can run shader code on the CPU. is an open-source library / codebase hosted on GitHub.

Experimental C# library that interprets HLSL on the CPU, including a framework for automated shader unit tests. Supports most language features such as wave intrinsics, divergent control flow, textures and buffers with mock resources, and parametric test attributes. Useful for shader authors who want CPU-side testing without a GPU. An interpreter for HLSL that can run shader code on the CPU. - pema99/HLSLInterpreter

It is aimed at intermediate graphics programmers and matches the audience implied by pema99's other work.

Source, release notes, and README material live in the GitHub repository linked from the submission.

It is useful when you want practical detail beyond a title or store listing and prefer primary-source explanation from the author or maintainer.