[Mesa-dev] [PATCH 9/9] anv: Enabled the VK_EXT_sample_locations extension

Lionel Landwerlin lionel.g.landwerlin at intel.com
Mon Mar 11 16:50:45 UTC 2019


On 11/03/2019 15:04, Eleni Maria Stea wrote:
> Enabled the VK_EXT_sample_locations for Intel Gen >= 7.
> ---
>   src/intel/vulkan/anv_extensions.py | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/intel/vulkan/anv_extensions.py b/src/intel/vulkan/anv_extensions.py
> index 9e4e03e46df..99007544732 100644
> --- a/src/intel/vulkan/anv_extensions.py
> +++ b/src/intel/vulkan/anv_extensions.py
> @@ -129,7 +129,7 @@ EXTENSIONS = [
>       Extension('VK_EXT_inline_uniform_block',              1, True),
>       Extension('VK_EXT_pci_bus_info',                      2, True),
>       Extension('VK_EXT_post_depth_coverage',               1, 'device->info.gen >= 9'),
> -    Extension('VK_EXT_sample_locations',                  1, False),
> +    Extension('VK_EXT_sample_locations',                  1, 'device->info.gen >= 7'),
>       Extension('VK_EXT_sampler_filter_minmax',             1, 'device->info.gen >= 9'),
>       Extension('VK_EXT_scalar_block_layout',               1, True),
>       Extension('VK_EXT_shader_stencil_export',             1, 'device->info.gen >= 9'),


Hi Eleni,

Anv doesn't support anything below gen7 so I could just put True there ;)

-Lionel


More information about the mesa-dev mailing list