AnySL: efficient and portable shading for ray tracing

9 years 11 months ago
AnySL: efficient and portable shading for ray tracing
While a number of different shading languages have been developed, their efficient integration into an existing renderer is notoriously difficult, often boiling down to implementing an entire compiler toolchain for each language. Furthermore, no shading language is broadly supported across the variety of rendering systems. AnySL attacks this issue from multiple directions: We compile shaders from different languages into a common, portable representation, which uses subroutine threaded code: Every language operator is translated to a function call. Thus, the compiled shader is generic with respect to the used types and operators. The key component of our system is an embedded compiler that instantiates this generic code in terms of the renderer's native types and operations. It allows for flexible code transformations to match the internal structure of the renderer and eliminates all overhead due to the subroutine threaded code. For SIMD architectures we automatically perform vec...
Ralf Karrenberg, Dmitri Rubinstein, Philipp Slusal
Added 10 Feb 2011
Updated 10 Feb 2011
Type Journal
Year 2010
Where EGH
Authors Ralf Karrenberg, Dmitri Rubinstein, Philipp Slusallek, Sebastian Hack
Comments (0)