commit | 6eb94fc3444a300a0419c40cfcf356fdd88bc304 | [log] [tgz] |
---|---|---|
author | Vadim Girlin <vadimgirlin@gmail.com> | Wed Aug 03 01:04:19 2011 +0400 |
committer | Alex Deucher <alexander.deucher@amd.com> | Wed Aug 03 10:17:44 2011 -0400 |
tree | ea409894161a3e56d68fe194ef858712ee75b6f2 | |
parent | 2664980760c5cf2e7dde4065f9cc8e8b865627c3 [diff] |
r600g: use backend mask for occlusion queries Use backend_map kernel query if supported, otherwise analyze ZPASS_DONE results to get the mask. Fixes lockups with predicated rendering due to incorrect query buffer initialization on some cards. Note: this is a candidate for the 7.11 branch. Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>