[Mesa-dev] [PATCH] radv: Enable query inheritance.

Edward O'Callaghan funfunctor at folklore1984.net
Thu Apr 13 02:45:08 UTC 2017


Acked-by: Edward O'Callaghan <funfunctor at folklore1984.net>

On 04/13/2017 07:20 AM, Bas Nieuwenhuizen wrote:
> 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>
> ---
>  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 5f14394196a..e45706c5b84 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                  = false,
> -		.inheritedQueries                         = false,
> +		.inheritedQueries                         = true,
>  	};
>  }
>  
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170413/1d26f243/attachment.sig>


More information about the mesa-dev mailing list