• Advertisement
Sign in to follow this  

Rendering to a texture question

This topic is 1878 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Rendering to a texture, just wanting to go through all its texels and change them, is a very common thing to do.
I am doing an application were I need to render 1000 times to the same texture in this way.
I think creating the quad and processing it 1000 times is a big lost of GPU time.
Is there any draw() function that goes directly to pixel shader skipping the vertex shader, because it already knows that i am going through all the texels of the render target? Edited by lomateron

Share this post


Link to post
Share on other sites
Advertisement

I think creating the quad and processing it 1000 times is a big lost of GPU time.


I really doubt it. Shading 4 vertices is nothing, even if you multiply that by 1000. And the triangle setup/rasterization hardware would just be idling if you weren't using it.

Either way, there's no way to skip the vertex shader. If you wantto skip rasterization altogether, you should use a compute shader.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement