Mesa (main): radv: Add mesh and task stage names to pipeline executable properties.
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri May 27 09:09:43 UTC 2022
Module: Mesa
Branch: main
Commit: 77a67f11151d9d7d99a07636a8d98a7a6329bdcd
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=77a67f11151d9d7d99a07636a8d98a7a6329bdcd
Author: Timur Kristóf <timur.kristof at gmail.com>
Date: Mon May 23 17:00:44 2022 +0200
radv: Add mesh and task stage names to pipeline executable properties.
Signed-off-by: Timur Kristóf <timur.kristof at gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16712>
---
src/amd/vulkan/radv_pipeline.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/src/amd/vulkan/radv_pipeline.c b/src/amd/vulkan/radv_pipeline.c
index 301b4b25475..811352e9070 100644
--- a/src/amd/vulkan/radv_pipeline.c
+++ b/src/amd/vulkan/radv_pipeline.c
@@ -7379,6 +7379,14 @@ radv_GetPipelineExecutablePropertiesKHR(VkDevice _device, const VkPipelineInfoKH
name = "Compute Shader";
description = "Vulkan Compute Shader";
break;
+ case MESA_SHADER_MESH:
+ name = "Mesh Shader";
+ description = "Vulkan Mesh Shader";
+ break;
+ case MESA_SHADER_TASK:
+ name = "Task Shader";
+ description = "Vulkan Task Shader";
+ break;
}
pProperties[executable_idx].subgroupSize = pipeline->shaders[i]->info.wave_size;
More information about the mesa-commit
mailing list