| author | |
| committer | |
| log | 71115f0ab3039f0b6d14316d736f82222bf1107a |
| tree | 1fc0c95c1787204327e4ed672e68750fed5d2fc3 |
| parent | bb7af4df66b7d627472f219b274fcbbc7b1b65ec |
1 files changed, 9 insertions(+), 0 deletions(-)
lib/std/spirv.zig+9| ... | @@ -261,3 +261,12 @@ pub fn imageWrite( | ... | @@ -261,3 +261,12 @@ pub fn imageWrite( |
| 261 | [texel] "" (texel), | 261 | [texel] "" (texel), |
| 262 | ); | 262 | ); |
| 263 | } | 263 | } |
| 264 | |||
| 265 | pub fn setMeshOutputs(vertex_count: u32, primitive_count: u32) void { | ||
| 266 | asm volatile ( | ||
| 267 | \\OpSetMeshOutputsEXT %vertex_count %primitive_count | ||
| 268 | : | ||
| 269 | : [vertex_count] "" (vertex_count), | ||
| 270 | [primitive_count] "" (primitive_count), | ||
| 271 | ); | ||
| 272 | } |