Publications

back

CoSMo: Intent-based Composition of Shader Modules

communication medium

Proceedings of International Conference on Computer Graphics Theory and Applications (Grapp 2014)

Abstract

We propose a novel shader programming model which operates on intent-oriented shader modules instead of $\~$specific programs for dedicated GPU rasterization pipeline stages. In contrast to existing pipeline shader frameworks, our system exposes a radically simplified pipeline, which we purposefully aligned with our basic intuition of shaders as per-primitive and per-pixel operations and compositions thereof. This simplicity lends itself to structure modules purely based on their intent, instead of dealing with structure enforced by specific versions of graphics APIs. Consequently, this offers great flexibility when it comes to reusing and combining modules with completely different semantics, or when targeting different graphics APIs. The simplicity and uniformity of our system also motivates automatic parameterization and simplification of shader programs as well as interesting interactive shader development and management techniques.

research topic