Skip to content

Commit

Permalink
Fix typo in 0011-inline-spirv.md (#125)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
cassiebeckley authored Nov 16, 2023
1 parent 20e8466 commit 8b30519
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions proposals/0011-inline-spirv.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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);
```

Expand Down

0 comments on commit 8b30519

Please sign in to comment.