Mesa (master): radv: Enable query inheritance.

Bas Nieuwenhuizen bnieuwenhuizen at kemper.freedesktop.org
Thu Apr 13 14:04:58 UTC 2017


Module: Mesa
Branch: master
Commit: 04c7452d0ca9b134685eaff4fdebce8734470bd9
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=04c7452d0ca9b134685eaff4fdebce8734470bd9

Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date:   Wed Apr 12 23:17:14 2017 +0200

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 <basni at google.com>
Reviewed-by: Dave Airlie <airlied at redhat.com>

---

 src/amd/vulkan/radv_device.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
index 8f9fbb0dfb..f14b0fd4f4 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,
 	};
 }
 




More information about the mesa-commit mailing list