From 8b3051963261e1f715f61d7409e1edf9132bc1c1 Mon Sep 17 00:00:00 2001 From: Cassandra Beckley Date: Thu, 16 Nov 2023 09:27:17 -0800 Subject: [PATCH] Fix typo in 0011-inline-spirv.md (#125) * Fix typo in 0011-inline-spirv.md NumWorkgroups should be a uint vector with three components * Update 0011-inline-spirv.md builtin_output should be used rather than builtin_input --- proposals/0011-inline-spirv.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/proposals/0011-inline-spirv.md b/proposals/0011-inline-spirv.md index 59e63ea4..0f4e388c 100644 --- a/proposals/0011-inline-spirv.md +++ b/proposals/0011-inline-spirv.md @@ -220,7 +220,7 @@ like this: ``` [[vk::ext_builtin_input(/* NumWorkgroups */ 24)]] -uint32 gl_NumWorkGroups(); +uint3 gl_NumWorkGroups(); ``` Then the compiler will be able to add a variable to in the input storage class, @@ -245,7 +245,7 @@ file like this: ``` [[vk::ext_extension("SPV_EXT_shader_stencil_export")]] -[[vk::ext_builtin_input(/* FragStencilRefEXT */ 5014)]] +[[vk::ext_builtin_output(/* FragStencilRefEXT */ 5014)]] void gl_FragStencilRefARB(int); ```