BEGIN:VCALENDAR
VERSION:2.0
PRODID:Linklings LLC
BEGIN:VTIMEZONE
TZID:Australia/Brisbane
X-LIC-LOCATION:Australia/Brisbane
BEGIN:STANDARD
DTSTART:19920301T030000
TZOFFSETFROM:+1100
TZOFFSETTO:+1000
TZNAME:AEST
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
DTSTAMP:20191203T080637Z
LOCATION:Great Hall 1&2
DTSTART;TZID=Australia/Brisbane:20191117T190600
DTEND;TZID=Australia/Brisbane:20191117T190700
UID:siggraphasia_SIGGRAPH Asia 2019_sess222_papers_342@linklings.com
SUMMARY:Staged Metaprogramming for Shader System Development
DESCRIPTION:Technical Papers Fast-Forward \n\nStaged Metaprogramming for S
 hader System Development\n\nSeitz, Jr., Foley, Porumbescu, Owens\n\nThe sh
 ader system for a modern game engine comprises much more than just compila
 tion of source code to executable kernels. Shaders must also be exposed to
  art tools, interfaced with engine code, and specialized for performance. 
 Engines typically address each of these tasks in an ad hoc fashion, withou
 t a unifying abstraction. The alternative of developing a more powerful co
 mpiler framework is prohibitive for most engines.\n\nIn this paper, we ide
 ntify staged metaprogramming as a unifying abstraction and implementation 
 strategy to develop a powerful shader system with modest effort. By using 
 a multi-stage language to perform metaprogramming at compile time, engine-
 specific code can consume, analyze, transform, and generate shader code th
 at will execute at runtime. Staged metaprogramming reduces the effort requ
 ired to implement a shader system that provides earlier error detection, a
 voids repeat declarations of shader parameters, and explores opportunities
  to improve performance.\n\nTo demonstrate the value of this approach, we 
 design and implement a shader system, called Selos, built using staged met
 aprogramming. In our system, shader and application code are written in th
 e same language and can share types and functions. We implement a design s
 pace exploration framework for Selos that investigates static versus dynam
 ic composition of shader features, exploring the impact of shader speciali
 zation in a deferred renderer. Staged metaprogramming allows Selos to prov
 ide compelling features with a simple implementation.\n\nRegistration Cate
 gory: Platinum Pass, Full Conference Pass, Full Conference One-Day Pass, B
 asic Conference Pass, Student One-Day Pass, Exhibitor Pass
URL:https://sa2019.conference-program.com/presentation?id=papers_342&sess=
 sess222
END:VEVENT
END:VCALENDAR

