radv: Enable query inheritance.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Wed, 12 Apr 2017 21:17:14 +0000 (23:17 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Thu, 13 Apr 2017 14:04:27 +0000 (16:04 +0200)
timestamp and pipeline_statistics only do something on begin & end,
so they don't need any action.

Occlusion queries only do something to enable/disable and that
register is set nowhere else so that doesn't need extra support either.
(We technically should fix it to update the reg with the number of
 samples, but that hasn't happened yet, so we only change it to
 enable/disable counting)

Signed-off-by: Bas Nieuwenhuizen <basni@google.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_device.c

index 8f9fbb0..f14b0fd 100644 (file)
@@ -503,7 +503,7 @@ void radv_GetPhysicalDeviceFeatures(
                .shaderInt16                              = false,
                .sparseBinding                            = true,
                .variableMultisampleRate                  = true,
-               .inheritedQueries                         = false,
+               .inheritedQueries                         = true,
        };
 }