[Mesa-dev] [PATCH 00/42] RadeonSI cleaning up states

Grazvydas Ignotas notasas at gmail.com
Sun Aug 30 14:05:16 PDT 2015


Hi,

On Sun, Aug 30, 2015 at 10:11 PM, Marek Olšák <maraeo at gmail.com> wrote:
> The viewport and scissor states are optimized. The main thing is that setting non-zero viewports and scissors is delayed until a shader that writes VIEWPORT_INDEX appears (which is typically never).

...

>
> Radeonsi no longer counts how much CS space it needs for draw calls and CP DMA. One need_cs_space call will make sure there are at least 2048 dwords and that's it. Even that is too many, but it's safe.

Can this be done for r600 too? If so, is 2048 correct for it too?

The series seem to conflict with my stuff, I guess I'll wait for this
to be merged before resending mine.

Gražvydas


More information about the mesa-dev mailing list