Skip to content

Conversation

@qining
Copy link
Contributor

@qining qining commented Jul 6, 2018

Fix crash when rebuilding command buffer commands

Fix crash when rebuilding command buffer commands
@qining qining requested a review from AWoloszyn July 6, 2018 20:43
d VkCmdSetBlendConstantsArgsʳ) (func(), api.Cmd, error) {

var constants F32ː4ᵃ
constants := NewF32ː4ᵃ(s.Arena)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The constructor takes array values, so you can fold the next 4 lines into this one

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed to use the constructor for array values.

@qining qining merged commit 95b5119 into google:master Jul 9, 2018
@qining qining deleted the fix-crash-due-to-incorrect-new branch October 23, 2018 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants