summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_device.c
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <[email protected]>2017-04-12 23:17:14 +0200
committerBas Nieuwenhuizen <[email protected]>2017-04-13 16:04:27 +0200
commit04c7452d0ca9b134685eaff4fdebce8734470bd9 (patch)
tree66ffd1f92f241e74200e14fda2e2b012eec06fc8 /src/amd/vulkan/radv_device.c
parentc3f38c89682b02e13d7cf92b5f8de2b7cc2481a4 (diff)
radv: Enable query inheritance.
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 <[email protected]> Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_device.c')
-rw-r--r--src/amd/vulkan/radv_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
index 8f9fbb0dfb5..f14b0fd4f4e 100644
--- a/src/amd/vulkan/radv_device.c
+++ b/src/amd/vulkan/radv_device.c
@@ -503,7 +503,7 @@ void radv_GetPhysicalDeviceFeatures(
.shaderInt16 = false,
.sparseBinding = true,
.variableMultisampleRate = true,
- .inheritedQueries = false,
+ .inheritedQueries = true,
};
}