We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 685c79a commit 4b55f91Copy full SHA for 4b55f91
crates/rustc_codegen_spirv/src/symbols.rs
@@ -651,7 +651,7 @@ fn parse_entry_attrs(
651
.execution_modes
652
.push((origin_mode, ExecutionModeExtra::new([])));
653
}
654
- GLCompute => {
+ GLCompute | MeshNV | TaskNV => {
655
if let Some(local_size) = local_size {
656
entry
657
@@ -660,7 +660,7 @@ fn parse_entry_attrs(
660
return Err((
661
arg.span(),
662
String::from(
663
- "The `threads` argument must be specified when using `#[spirv(compute)]`",
+ "The `threads` argument must be specified when using `#[spirv(compute)]`, '#[spirv(mesh_nv)]' or '#[spirv(task_nv)]'",
664
),
665
));
666
0 commit comments