On Sun, Aug 30, 2015 at 11:05 PM, Grazvydas Ignotas <nota...@gmail.com> wrote: > Hi, > > On Sun, Aug 30, 2015 at 10:11 PM, Marek Olšák <mar...@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?
No. r600g needs about 10000, which is too many. > > The series seem to conflict with my stuff, I guess I'll wait for this > to be merged before resending mine. Up to you. Marek _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev