Original Post
Hi guys, I'm just wondering what it is that controls the maximum number of vertex the geometry shader can output?
I know it's something like the size of some output register divided by the stride of the output vertex. I saw in this post:
http://www.gamedev.net/topic/495265-maxvertexcount12---whats-this/ that there is a limit of 1024 bytes, however my vertex has a stride of 40 bytes and the code will compile up to outputting 113 vertex per triangle, which is at least 4520 bytes (providing the compiler isn't padding my vertex to 48 bytes). Ideally I need to output 183 vertex per triangle.
I know this is a ridiculous amount to output, but its for a paper that I'm writing as I'm just proving the theory of applying a current technique to the geometry shader. What I want to know is, what is the register where the output goes to (when its just sent straight to the pixel shader), is the size API dependant or device dependant, and where I can find the size (can I find it in DX capabilities) as I want to produce a size-time chart to show a predicted growth.
Thanks for your help.
-A
I know it's something like the size of some output register divided by the stride of the output vertex. I saw in this post:
http://www.gamedev.net/topic/495265-maxvertexcount12---whats-this/ that there is a limit of 1024 bytes, however my vertex has a stride of 40 bytes and the code will compile up to outputting 113 vertex per triangle, which is at least 4520 bytes (providing the compiler isn't padding my vertex to 48 bytes). Ideally I need to output 183 vertex per triangle.
I know this is a ridiculous amount to output, but its for a paper that I'm writing as I'm just proving the theory of applying a current technique to the geometry shader. What I want to know is, what is the register where the output goes to (when its just sent straight to the pixel shader), is the size API dependant or device dependant, and where I can find the size (can I find it in DX capabilities) as I want to produce a size-time chart to show a predicted growth.
Thanks for your help.
-A