Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 7 of 7

Thread: Mac support of GLSL?

  1. #1
    Junior Member Newbie
    Join Date
    Feb 2004
    Posts
    6

    Mac support of GLSL?

    Are there any current OS X drivers implementing GLSL (from any card vendor)?

  2. #2
    Junior Member Newbie
    Join Date
    Feb 2004
    Posts
    6

    Re: Mac support of GLSL?

    Heh, I managed to typo "HLSL" twice. I'm asking about availability of HLSL implementations, whether Cg or glslang or custom, on OS X.

  3. #3
    Advanced Member Frequent Contributor
    Join Date
    Dec 2001
    Location
    Wellington, New Zealand
    Posts
    544

    Re: Mac support of GLSL?

    Some mod should probably move this to the Mac forum...

    Apple is apparently waiting on the vendors for ARB_shading_language implementations.

    ARB_vertex_program and ARB_fragment_program code produced by Cg should work fine on Mac OS X; whether you can get Cg to work is a different question. Try the NVidia Linux SDK -- last I checked it had some code conditionalized for the Mac.

  4. #4
    Intern Contributor
    Join Date
    Jun 2003
    Location
    Burlington VT US
    Posts
    53

    Re: Mac support of GLSL?

    In my experience:

    arb_vertex / fragment code produced by Cg works fine on OSX. A simple parse of Cg generated file gives you the needed register indexes for passing values.

    trying to use any of linux-Cg stuff on Mac is a dead-end. With the possible exception of cgc... but why bother.

  5. #5
    Intern Contributor
    Join Date
    Jul 2001
    Location
    Santa Clara, CA
    Posts
    84

    Re: Mac support of GLSL?

    The new Cg 1.2 release supports MacOS X: http://developer.nvidia.com/object/cg_toolkit.html

    We will have full GLSL support shortly.

    -S.

    Originally posted by vmh5:
    In my experience:

    arb_vertex / fragment code produced by Cg works fine on OSX. A simple parse of Cg generated file gives you the needed register indexes for passing values.

    trying to use any of linux-Cg stuff on Mac is a dead-end. With the possible exception of cgc... but why bother.

  6. #6
    Junior Member Newbie
    Join Date
    Sep 2003
    Location
    Canada
    Posts
    2

    Re: Mac support of GLSL?

    Has any more information been released about GLSL on Apple?

  7. #7
    Advanced Member Frequent Contributor
    Join Date
    Dec 2001
    Location
    Wellington, New Zealand
    Posts
    544

    Re: Mac support of GLSL?

    10.3.4 exposes the ARB_shader_objects, ARB_vertex_shader and ARB_fragment_shader extensions, but not ARB_shading_language_100. So, obviously work is being done, but it's not ready yet.

Posting Permissions

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