Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

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?

share|improve this question
add comment

1 Answer

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.

share|improve this answer
    
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 Sep 6 '12 at 13:48
1  
@Fr34K: GPU independence is what GLSL has been made for. –  datenwolf Sep 7 '12 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 Sep 7 '12 at 13:40
    
@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 Dec 16 '12 at 21:02
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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