Fixed and here are the results:
Before (NO FILTER):
http://members.optusnet.com.au/ksaho/work/imageProcessing/before.PNG
After (RGB -> YIQ -> HIGH PASS ON INTENSITY(Y component)-> RGB)
http://members.optusnet.com.au/ksaho/work/imageProcessing/after.PNG
Not a good idea to run at 1280x1024 mind you.
Runs very fast at 640x480.
Here's my pixel shader code if anyone's interested:
http://members.optusnet.com.au/ksaho/work/imageProcessing/gpuPeteOGL2.slf
The vertex shader is in the directory but it's a passs through shader so it's mostly useless.
Remember I have no access to Pete's source code and so I can only work on the given parameters. OGL2Size, OGL2Parameters(z being the pixel shader level) and TMU0-TMU7.
I don't think there is much I can do but I do know that Ati + swizzle = bad.
So which is faster on Ati hardware:
n = vec3(some)
or
n = some.xyz?
Also what can I do to further gain performance?
Before (NO FILTER):
http://members.optusnet.com.au/ksaho/work/imageProcessing/before.PNG
After (RGB -> YIQ -> HIGH PASS ON INTENSITY(Y component)-> RGB)
http://members.optusnet.com.au/ksaho/work/imageProcessing/after.PNG
Not a good idea to run at 1280x1024 mind you.

Runs very fast at 640x480.
Here's my pixel shader code if anyone's interested:
http://members.optusnet.com.au/ksaho/work/imageProcessing/gpuPeteOGL2.slf
The vertex shader is in the directory but it's a passs through shader so it's mostly useless.

Remember I have no access to Pete's source code and so I can only work on the given parameters. OGL2Size, OGL2Parameters(z being the pixel shader level) and TMU0-TMU7.
I don't think there is much I can do but I do know that Ati + swizzle = bad.
So which is faster on Ati hardware:
n = vec3(some)
or
n = some.xyz?
Also what can I do to further gain performance?