Is main function mandatory in glsl shaders?

How can I write a main function in MIPS to test the function I wrote?

  • I have already written a function and I want to see if it works. But I don't know how to write a main function for this. Function I wrote takes parameter values from $a0 ,which is an array of integers, and puts output into $a1 which is also an array of integers. Please please please help me to test my function because I'm about to lose my mind.

  • Answer:

    What can you run your program on? MIPS software emulator? MIPS/Linux system? MIPS/NetBSD system? SGI IRIX system with MIPS processor? How are we supposed to answer the question without this information.

B B at Yahoo! Answers Visit the source

Was this solution helpful to you?

Other answers

What can you run your program on? MIPS software emulator? MIPS/Linux system? MIPS/NetBSD system? SGI IRIX system with MIPS processor? How are we supposed to answer the question without this information.

John H

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.