[Mesa-dev] radeonsi htile (aka HyperZ) support v4

2013-12-10 Thread Andreas Hartmetz
Removed the now unused db_render_override from si_state_dsa. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] radeonsi htile (aka HyperZ) support v3

2013-12-10 Thread Andreas Hartmetz
Another attempt at patch 3. I've picked Marek's suggestion 1, do it like CB_TARGET_MASK. The other option would probably be a lot less code but also a bit more "ad hoc" because it relies on the fact that state is only emitted just before drawing anyway (right?). I do not quite have the hang of git

[Mesa-dev] radeonsi htile (aka HyperZ) support v2 (fixed)

2013-12-10 Thread Andreas Hartmetz
Fixed patch 3, the previous one didn't compile and would also have had a bug where it didn't compile. The storage location of db_render_override is a bit dubious, any better ideas? Create si_db_misc_state? Create si_db_framebuffer_state? ___ mesa-dev mai

[Mesa-dev] radeonsi htile (aka HyperZ) support v2

2013-12-10 Thread Andreas Hartmetz
Performance numbers are still the same. I've addressed almost all the concerns. Registers that shouldn't be used when depth htile is disabled are still written anyway because I figured it's no big overhead, simpler, and possibly safer. si_texture_htile_alloc_size() is modeled after si_texture_get_c

[Mesa-dev] radeonsi htile (aka HyperZ) support

2013-12-03 Thread Andreas Hartmetz
This adds HyperZ support, without fast clear for now. I got a lot of help from Marek with this. There seem to be no piglit regressions; about 60 very basic GL1.0 tests were skipped in my test run for some reason - they looked very unrelated. There was no change in other tests. It does seem to make