基于 SOC 职业分类
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/ARM-software/tracetooltests --skill update-chameleon命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | update-chameleon |
| description | Use this skill to update chameleon to the latest Khronos specs |
| metadata | {"short-description":"Use whenever we update our Khronos headers submodule to also update Chameleon to match"} |
Use git to update the Vulkan headers dependency, then build the source to find issues caused by the update. Typical issues include missing implementations of new functions defined in the Vulkan spec.
git submodule update --force --remote --recursive external/Vulkan-Headers
sandbox_permissions=require_escalated to allow network/keyring access.( cd build ; make -j 6 )
src/chameleon/vulkan.cpp for any missing functions defined in the Vulkan spec and not implemented yet by us.Minimal example stub function that is not vkCmd type:
VKAPI_ATTR VkResult VKAPI_CALL vk<name>(<function parameters>)
{
ENTRY(vk<name>);
cVkDevice* cdevice = device_cast(device); // for each Vulkan object passed in as parameter, touch it in this way
TBD_UNSUPPORTED; // mark function as incomplete
return VK_SUCCESS; // fake success
}
Minimal example stub function that is vkCmd type:
VKAPI_ATTR void VKAPI_CALL vkCmd<name>(VkCommandBuffer commandBuffer, <rest of function parameters>)
{
ENTRY(vkCmd<name>);
cVkCommandBuffer* ccommandBuffer = commandbuffer_cast(commandBuffer);
// TBD touch any other function parameters that are Vulkan objects
TBD_UNSUPPORTED; // mark function as incomplete
}