~/talk

Pythonic Shader Metaprogramming with Metashade

Talkat Open Source Days 2024 · on Sunday, 2024-07-28· at 13:35· Capitol Ballroom 1 + 2· [python, creative-coding]
links:none on file
slides:none on file

Metashade is a Python-based EDSL that generates HLSL source code from Python (Apache-2.0 on GitHub) and targets pragmatic needs: managing hundreds of shader permutations, enforcing C-like scoping via with-statements and operator overloading, and emitting plain source rather than an IR. A companion glTF demo uses AMD Cauldron and a Python glTF loader to reimplement AMD shaders as a working proof of concept, arguing it avoids C preprocessor limits and differs from Warp/Triton-style transpilers.

AI-written summary · about

  1. 0:00Introduction to Metashade
  2. 2:35Why Metashade exists
  3. 5:45Design principles of Metashade
  4. 7:11Generators in Metashade
  5. 8:59Comparison to other solutions
  6. 11:02Metashade vs Python EDSLs
  7. 12:07Closing and Q&A
~/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.