Svrog
03-07-2005, 02:50 AM
Hi,
I'm new here and I'm new to OpenGL shaders although I've messed around with shaders in DX8 and 9.
I was wondering is there anything that can be done with GLSLANG that can't be done with ARB_VERTEX_PROGRAM and ARB_FRAGMENT_PROGRAM? More specifically how do ARB_VERTEX_PROGRAM and ARB_FRAGMENT_PROGRAM compare to vs3.0 and ps3.0 respectively and is there an assembly language alternative to GLSLANG?
I'm not particularly fond of C-like syntax, especially when used from a language like Lisp or Scheme so I wouldn't mind writing a little shader compiler with a more Lisp like syntax and I'd prefer to translate the code to some form of assembly rather then GLSLANG and at the same time I want to support all the latest features.
I'm new here and I'm new to OpenGL shaders although I've messed around with shaders in DX8 and 9.
I was wondering is there anything that can be done with GLSLANG that can't be done with ARB_VERTEX_PROGRAM and ARB_FRAGMENT_PROGRAM? More specifically how do ARB_VERTEX_PROGRAM and ARB_FRAGMENT_PROGRAM compare to vs3.0 and ps3.0 respectively and is there an assembly language alternative to GLSLANG?
I'm not particularly fond of C-like syntax, especially when used from a language like Lisp or Scheme so I wouldn't mind writing a little shader compiler with a more Lisp like syntax and I'd prefer to translate the code to some form of assembly rather then GLSLANG and at the same time I want to support all the latest features.