I have two questions to ask.

  1. If I want to code in ARB, what are the prerequisites I need to write the code?

  2. I have been using OpenGL and DirectX lately. I want to compile and run the ARB code. What compiler should I use to compile and run the code?

1 Answer 1


It's no longer advised to code directly to assembly. It was important during Nvidia FX5xxx/Radeon 9700 era. A very long time ago. Now all shaders are compiled by drivers to extract max performance out of the platform.

Use OpenGL shading language, or use Nvidia Cg to generate an assembly from C++ like code.

  • Thanks for the info. I knew that ARB Assembly is Obsolete for graphics programming. But, i want to write a program which is independent of GPU make.
    – Fr34K
    Commented Sep 6, 2012 at 13:48
  • 2
    @Fr34K: GPU independence is what GLSL has been made for.
    – datenwolf
    Commented Sep 7, 2012 at 10:40
  • 1
    @Fr34K: Yeah, resorting to assembly for better cross platform/product compatibility is exactly the wrong way to approach the problem. You want higher abstraction level, not lower.
    – Coder
    Commented Sep 7, 2012 at 13:40
  • 1
    @Coder That's rather arrogant to assume you can say what someone wants, the OP is obviously asking about ARB-assembly not some abstracted alternative.
    – Hawken
    Commented Dec 16, 2012 at 21:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.