Skip to content
Shading Languages Symposium 2026 - Writing a Shader Test Framework with Pure HLSL 202x

Shading Languages Symposium 2026 - Writing a Shader Test Framework with Pure HLSL 202x

Summary

This could be seen as a sequel to my GDC 2024 talk, “Automated Testing of Shader Code”. As a result of that and the fact that I only had 25 minutes for this talk, I leave out much of the “why would I want this?” from this talk. This talk is much more focussed on the “what is it?” and “how is it implemented?” questions. If you would like to know more about the motivations of writing a testing framework in HLSL, go and watch the GDC talk :)

I have some reflections on this talk which can be found in my trip report.

Main elements that I cover in this talk:

  • My testing framework
  • HLSL templates
  • Processing strings in HLSL
  • Expression Templates
  • HLSL conversion operators… or the lack of them.
  • API design
  • C++20 style concepts in HLSL

Link