From 98a7ef04ef6267b257e2974abcd891d50d9ffac5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nathan=20Gau=C3=ABr?= Date: Mon, 22 Dec 2025 10:42:03 +0100 Subject: [PATCH] [SPIR-V] Add doc for heap related -fvk-bind flags Those flags were documented in the --help, but not the official documentation. --- docs/SPIR-V.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/SPIR-V.rst b/docs/SPIR-V.rst index 71935e1757..423262e15d 100644 --- a/docs/SPIR-V.rst +++ b/docs/SPIR-V.rst @@ -2065,6 +2065,15 @@ Bindings are lazily allocated: if only the sampler heap is used, // buffer is in the descriptor set 0, binding 0. // Counter not generated, because unused. +Bindings & sets associated with each heap can be explicitly set using: + +- `-fvk-bind-sampler-heap `: Specify Vulkan binding number + and set number for the sampler heap. +- `-fvk-bind-resource-heap `: Specify Vulkan binding number + and set number for the resource heap. +- `-fvk-bind-counter-heap `: Specify Vulkan binding number + and set number for the counter heap. + HLSL Expressions ================