Skip to content

v0.2.0 - Go-style errors and Mac support

Compare
Choose a tag to compare
@bbredesen bbredesen released this 28 Mar 17:47
· 19 commits to main since this release
f7dcceb

What's Changed

  • MAJOR API BREAKING CHANGE - Result as error, return order from commands by @bbredesen in #36 - VkResult is now a Go error, SUCCESS is returned as nil, and the Result/error is the final return value on all commands that return a Result.
  • Removed lazyCommands map by @bbredesen in #38 - Cgo call information was originally stored in a map. Each command now has an associated var with the call information that is passed. Eliminates map initialization at runtime and map lookup on every Vulkan call.
  • Look harder for goimports by @asmaloney in #11 - goimports execution could fail if GOPATH bin was not in the users PATH
  • Crash when union in exceptions.json not already defined in vk.xml by @bbredesen in #34 - Affected execution against versions of vk.xml from before that union type was added.
  • Block enum from using build tags by @bbredesen in #39 - Fixes build issues when generating against multiple platforms caused by stringer (generated String() functions referencing vars behind platform build tags)
  • Default platforms generated are now "win32,macos,metal"

Full Changelog: v0.1.1...v0.2.0