mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-23 16:01:04 +01:00
[spv-in] Give entry point function the same name as entry point itself
This commit is contained in:
1 parent
f6da21f8dd
commit
9fbe681316
2 files changed
+2
-2
No files matched your search
@@ -189,7 +189,7 @@ impl<I: Iterator<Item = u32>> super::Parser<I> {
|
||||
if let Some(ep) = self.lookup_entry_point.remove(&fun_id) {
|
||||
// create a wrapping function
|
||||
let mut function = crate::Function {
|
||||
name: None,
|
||||
name: Some(format!("{}_wrap", ep.name)),
|
||||
arguments: Vec::new(),
|
||||
result: None,
|
||||
local_variables: Arena::new(),
|
||||
|
||||
@@ -1512,7 +1512,7 @@
|
||||
early_depth_test: None,
|
||||
workgroup_size: (0, 0, 0),
|
||||
function: (
|
||||
name: None,
|
||||
name: Some("fs_main_wrap"),
|
||||
arguments: [
|
||||
(
|
||||
name: Some("in_normal_fs"),
|
||||
|
||||
Reference in new issue
Block a user