[Mesa-dev] Mesa (staging/19.0): radv: enable descriptor indexing capabilities

Samuel Pitoiset samuel.pitoiset at gmail.com
Wed May 1 19:59:23 UTC 2019


wait what? Are we backporting a new feature into a stable branch? Do we 
really need that?

On 5/1/19 6:35 PM, GitLab Mirror wrote:
> Module: Mesa
> Branch: staging/19.0
> Commit: a1cdab7bd4ecad7c1c518fb8430613a7559d4f9d
> URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a1cdab7bd4ecad7c1c518fb8430613a7559d4f9d
>
> Author: Juan A. Suarez Romero <jasuarez at igalia.com>
> Date:   Mon Apr 29 17:05:13 2019 +0200
>
> radv: enable descriptor indexing capabilities
>
> This enables the remaining capabilities in SPV_EXT_descriptor_indexing.
>
> Fixes: 0e10790558b "radv: Enable VK_EXT_descriptor_indexing."
>
> Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
> Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
> (cherry picked from commit 06c9d7f9f94d9ab44a2b6148d9b5ec3f76c8d3db)
>
> ---
>
>   src/amd/vulkan/radv_shader.c | 2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/src/amd/vulkan/radv_shader.c b/src/amd/vulkan/radv_shader.c
> index 2b45576bd41..7dd2fa2105c 100644
> --- a/src/amd/vulkan/radv_shader.c
> +++ b/src/amd/vulkan/radv_shader.c
> @@ -222,6 +222,8 @@ radv_shader_compile_to_nir(struct radv_device *device,
>   			.lower_ubo_ssbo_access_to_offsets = true,
>   			.caps = {
>   				.descriptor_array_dynamic_indexing = true,
> +				.descriptor_array_non_uniform_indexing = true,
> +				.descriptor_indexing = true,
>   				.device_group = true,
>   				.draw_parameters = true,
>   				.float64 = true,
>
> _______________________________________________
> mesa-commit mailing list
> mesa-commit at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-commit


More information about the mesa-dev mailing list