From 0d1c5b84f2890f0062f03afa94de43a0dc667bfe Mon Sep 17 00:00:00 2001 From: Abdelrahman Date: Sun, 5 Jul 2026 19:49:42 +0100 Subject: [PATCH] Update rhi skill --- .opencode/skills/prism-rhi/SKILL.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.opencode/skills/prism-rhi/SKILL.md b/.opencode/skills/prism-rhi/SKILL.md index 81b8539..173854b 100644 --- a/.opencode/skills/prism-rhi/SKILL.md +++ b/.opencode/skills/prism-rhi/SKILL.md @@ -12,7 +12,7 @@ Captures the RHI conventions for Prism: how backends are dispatched, how descrip ## When to use me -Use this when working on any file in `scratchpad/rhi/` or `src/prism/rhi/`, or when creating a new backend (Vulkan, D3D12, Metal). +Use this when working on any file in `src/prism/rhi/`, or when creating a new backend (Vulkan, D3D12, Metal). ## Conventions @@ -60,12 +60,13 @@ PrRhiDevice *prRhiCreateDevice(PrRhiPhysicalDevice *pdev, PrRhiSurface *surface, ### File layout ``` -scratchpad/rhi/ +src/prism/rhi/ ├── pr_rhi.h ← umbrella header (API declarations + backend dispatch) ├── pr_rhi_types.h ← shared types (enums, element types, array aliases, desc structs, opaque handles) ├── vulkan/ │ ├── pr_rhi_vk.h ← Vulkan backend header (opaque struct defs + Vk-suffixed decls) -│ └── pr_rhi_vk_aliases.h ← #define alias mapping +│ ├── pr_rhi_vk_aliases.h ← #define alias mapping +│ └── profiles/ ← generated Vulkan Profiles library ├── d3d12/ │ └── … └── metal/