Reputation: 253
If I have a very complicate geometry shader, is there a limit of memory footprint for the codes?
Upvotes: 2
Views: 114
Reputation: 474376
Shaders are not limited by "complexity", but by runtime. If a shader executes for too long, the GPU/OS will assume that the shader has entered an infinite loop and kill the shader's execution (and probably the application that launched it). How long that is depends on the GPU and possibly the shader stage.
Upvotes: 4