Hello,
I am newb to gpgpu programming so I wonder if the following is possible and
what technique for it could be used to achieve it
(I saw someone else mention GL_POINTS so I will go on that):
The idea is as follows:
There is an array of verteces for example 1000 verteces.
Each vertex translates to a "pixel" / fragment.
So there should be 1000 pixels as well.
The vertex shader will be called first and each vertex must decide if it's
to be on or off based on some condition.
Each vertex that is on should trigger a fragment/pixel shader.
Therefore only the pixel/fragment associated with the vertex should execute
the pixel/fragment shader to make it as efficient/fast as possible.
So that's idea and I have a couple of questions about that:
1. Is this possible somehow ?
2. What techniques exist ?
3. Which technique would be fastest ?
I would prefer to use OpenGL + CG on DirectX9 cards like NVIDIA GTX 7900.
DirectX solutions would be interesting too.
(I posted this question on gpgpu forum as well (except above two lines), so
I am shotgunning multiple resources for some possible answers

)
Thanks for any help ! God bless you !
Bye,
Skybuck.