~/talk

Automated Testing of Shader Code

Talkat Pure Virtual C++ 2024 · on Tuesday, 2024-04-30· [game-development]
links:none on file
slides:none on file

Rare’s Rare Shader Test framework runs HLSL 2015 shader unit tests on top of Unreal’s test runner, dispatching compute shaders (often 1x1x1) from C++17 code, writing assertion data to a GPU readback buffer and validating on the CPU. The framework emits clear compile-time errors via emulated Concepts, requires using begin CQ test shader parameter struct for extra bindings, executes 29 tests in ~0.3s (~10 ms/test), and has an open-source HLSL2021 experiment on GitHub with CI via GitHub Actions.

AI-written summary · about

  1. 0:00Intro
  2. 0:20About me
  3. 2:01The problem
  4. 7:07HLSL
  5. 10:16Goals
  6. 14:30Binding Extra Parameters
  7. 17:05C Concepts
  8. 21:18Future Goals
  9. 23:04Questions
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.