Introducing SPARE : Shader Performance Analysis and Runtime Evaluation
Dieser Prototyp wurde mit C# und XNA entwickelt und demonstriert hauptsächlich die funktionierende Kommunikation zwischen dem Shader und dem restlichen System. Das fertige Werkzeug wird dem Entwickler noch deutlich mehr Information zur Verfügung stellen (wird aber noch eine Weile dauern). Ziel ist es, diese Features mit minimalen Änderungen für bestehende Shader verwenden zu können. Dies soll nach Möglichkeit durch vollautomatisches Umschreiben von existierendem HLSL Code geschehen.[/lang_de][lang_en]The SPARE (”Shader Performance Analysis and Runtime Evaluation”) Framework was designed to assess the runtime behaviour of current shaders.
In this screenshot, a typical displacement shader can be seen in the render window on the right. The polar plot on the left displays the shader’s worst case behaviour for all view angles in the upper hemisphere. It is clearly visible that there is a certain amount of anisotropy at lower elevations, and that for most view directions at least some pixels had to be rendered with worst case characteristics.
This screenshot only displays a very early prototype written in C# / XNA, which was designed to test the communication between the framework and the shaders. The final tool will provide the developer with much more detailed information. The ultimate goal is to provide these features with minimal changes for existing shaders, possibly through automated HLSL rewriting.[/lang_en]
No comments yet.