[Mesa-dev] [PATCH] gallium: add geometry shader output limits
Grigori Goronzy
greg at chown.ath.cx
Sat Feb 8 04:47:20 PST 2014
On 06.02.2014 02:46, Michel Dänzer wrote:
>> + case PIPE_CAP_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS:
>> + return 16384;
>
> radeonsi currently can't handle more than 4095 total output components,
> as the buffer resource for writing to the GSVS ring only has 14 bits for
> the stride in bytes. This limit could be lifted in the future by falling
> back to the pre-SI (supposedly slower) organization of the GSVS buffer
> for larger numbers of total output components.
>
OK. It probably was a bit naive to assume the limits are similar to r600g.
>
> Also, might it make more sense for these to be shader caps than screen
> caps?
>
shader caps are for capabilities not specific to a single shader stage.
Grigori
More information about the mesa-dev
mailing list