BrookGPU bugfixes for Brook+

Discussion created by rlindner on Feb 6, 2009


I worked with BrookGPU for some time and fixed a bug here and there. I only have a DirectX 9 card so I cannot use Brook+, but as BrookGPU seems to be dead I'll post the diff with the bug fixes here, maybe some of these bugs are still there in Brook+

the change in brcc/decl.h is there because BrookGPU produced a different shader code with DEBUG and RELEASE flags (gcc 4.1, not in 4.3)

most changes with IFDEF are there so that brcc or the runtimes can be compiled with gcc 3.x, 4.1 and 4.3

I cannot post the code here directly because characters between < and > were missing: http://gpgpu.org/forums/viewtopic.php?t=5491