Results 1 to 3 of 3

Thread: HLSL in Pascal

  1. #1

    HLSL in Pascal

    Is there any HLSL in Pascal? I want to create a compiler or translator from Pascal to Shader Assembly. Now I understand Pixel Shaders, I would start with them. Any suggestion for the new compiler/translator?

  2. #2

    HLSL in Pascal

    IIRC there is/was one on DelphiGL.de.
    But I would rather warn: writing compiler is not an easy task. Even more writing optimizing compiler (without knoweledge of GPU's internals) even more hard task!
    There are only 10 types of people in this world; those who understand binary and those who don't.

  3. #3

    HLSL in Pascal

    The one on delphigl.com was written by Lars Middendorf and is called fxPascal. Basically it's a high level language for writing OpenGL shaders in Pascal. It then translates them to GL_ARB VPs and FPs (assembly). But since there is glsl now, it's no longer developed.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •