Skip to content

Commit

Permalink
Merge pull request #49 from bbredesen/bugfix-47
Browse files Browse the repository at this point in the history
Bugfix-47
  • Loading branch information
bbredesen committed Nov 22, 2023
2 parents fd0a32f + a3379fa commit 8be9912
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
9 changes: 4 additions & 5 deletions def/enum_value.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,12 @@ func (v *enumValue) PrintPublicDeclaration(w io.Writer) {
} else {
fmt.Fprintln(w)
}
}

if v.IsAlias() {
} else if v.IsAlias() {
fmt.Fprintf(w, "%s = %s\n", v.PublicName(), v.ValueString())
} else {
fmt.Fprintf(w, "%s %s = %s\n", v.PublicName(), v.resolvedType.PublicName(), v.ValueString())
}
// else {
// fmt.Fprintf(w, "%s %s = %s\n", v.PublicName(), v.resolvedType.PublicName(), v.ValueString())
// }

}

Expand Down
3 changes: 2 additions & 1 deletion exceptions.json
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,8 @@
"VK_QUEUE_FAMILY_EXTERNAL": "^uint32(1)",
"VK_QUEUE_FAMILY_FOREIGN_EXT": "^uint32(2)",
"VK_SUBPASS_EXTERNAL": "^uint32(0)",
"VK_SHADER_UNUSED_KHR": "^uint32(0)"
"VK_SHADER_UNUSED_KHR": "^uint32(0)",
"VK_SHADER_INDEX_UNUSED_AMDX": "^uint32(0)"
}
},
"int64_t": { "go:type": "int64", "primitive": true },
Expand Down

0 comments on commit 8be9912

Please sign in to comment.