GPU programming using .NET languages

GPU programming using .NET languagesOur project, which is called IL Shader, allows writing vertex and fragment programs using general purpose programming languages on .NET platform. Our project is based on three-stage translation. First, MSIL bytecode is translated to assembly language of abstract machine with vector registers. Then we perform some optimization and finally translate abstract machine code to one of assembly language shaders (currently DirectX pixel and vertex shaders). We provide infrastructure that allows using .NET classes as shaders. This project is supported by Microsoft Research grant.


Most modern interactive graphical applications use graphical processor units (GPU) for polygonal objects rendering. Modern GPUs are fully programmable and support two types of programs: vertex programs (or vertex shaders) and fragment programs (or pixel shaders). The complexity of modern GPU can be compared with CPUs. Programming languages for writing shaders can be divided in two groups: low-level and high-level. Examples of low level are languages from Direct3D and languages that are defined by OpenGL extensions. Each low level language defines architecture of abstract pure register machine with vector registers. Programming using low-level shader languages is not very convenient, that’s why high level languages were introduced. Examples are Microsoft High Level Shader Language, NVidia CG and OpenGL GLSL. High leve l languages are procedural, have C-like syntax, and are translated into low-level languages.

Website: microsoft.cs.msu.su | Filesize: 139kb
No of Page(s): 2
Click here to download GPU programming using .NET languages.

Related Copyrighted Books
Programming a Multiplayer FPS in DirectX (Game Development Series)Programming a Multiplayer FPS in DirectX (Game Development Series)
Introduction to 3D Game Engine Design Using DirectX 9 and C#Introduction to 3D Game Engine Design Using DirectX 9 and C#
Windows Game Programming with Visual Basic and DirectXWindows Game Programming with Visual Basic and DirectX
DirectX 8 and Visual Basic Development (.Net)DirectX 8 and Visual Basic Development (.Net)
C# and Game Programming: A Beginner's Guide (Book & CD-ROM)C# and Game Programming: A Beginner’s Guide (Book & CD-ROM)

Related Tutorial

Tags: , ,

Comments

Leave a Reply