mesa/src/amd
Bas Nieuwenhuizen 8911dd6d12 radv: Use a shader for occlusion CmdCopyQueryPoolResults.
Use the new occlusion query copy shader.

We don't use the shader for the waiting as a polling loop ineracts badly
with having caching enabled. I noticed on my GPU (Tonga) that the values
are written out in order, so I just use a WAIT_REG_MEM on the last value.

If it turns out other chips don't do that we may need to look a bit more
into this. Having 8 WAIT_REG_MEM packets per query doesn't sound ideal.

This also restricts the availability word in the pool to timestamp queries
only, as occlusion queries don't use it, and pipeline statistic queries
likely won't either.

Signed-off-by: Bas Nieuwenhuizen <basni@google.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
2017-04-11 09:33:17 +02:00
..
addrlib amd/addrlib: use correct variable name in header 2017-04-10 12:44:59 +10:00
common ac: add unreachable() in ac_build_image_opcode() 2017-04-10 23:02:12 +02:00
vulkan radv: Use a shader for occlusion CmdCopyQueryPoolResults. 2017-04-11 09:33:17 +02:00
Android.addrlib.mk android: add support for libmesa_amdgpu_addrlib 2016-09-13 10:06:04 +10:00
Android.common.mk android: fix llvm, elf dependencies for M, N releases 2017-02-01 23:01:35 +00:00
Android.mk android: amd/common: add support for libmesa_amd_common 2016-11-05 18:42:29 +01:00
Makefile.addrlib.am amd/addrlib: import gfx9 support 2017-03-30 14:44:33 +02:00
Makefile.am ac: automake: rework sid_tables.h generation 2017-01-12 19:29:28 +00:00
Makefile.common.am radeonsi/gfx9: add IB parser support 2017-03-30 14:44:33 +02:00
Makefile.sources amd/addrlib: automake: add all headers to the tarball 2017-04-05 13:16:28 +01:00