Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Merged by Bors] - StorageBuffer uses wrong type to calculate the buffer size. #4557

Closed
wants to merge 2 commits into from

Conversation

MonaMayrhofer
Copy link
Contributor

Objective

Fixes #4556

Solution

StorageBuffer must use the Size of the std430 representation to calculate the buffer size, as the std430 representation is the data that will be written to it.

@github-actions github-actions bot added the S-Needs-Triage This issue needs to be labelled label Apr 22, 2022
@alice-i-cecile alice-i-cecile added C-Bug An unexpected or incorrect behavior A-Rendering Drawing game state to the screen and removed S-Needs-Triage This issue needs to be labelled labels Apr 22, 2022
@alice-i-cecile
Copy link
Member

Thanks for the fix!

@alice-i-cecile alice-i-cecile added the S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it label Apr 24, 2022
Copy link
Contributor

@superdump superdump left a comment

Choose a reason for hiding this comment

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

Oops, my bad, good catch!

@superdump
Copy link
Contributor

bors r+

bors bot pushed a commit that referenced this pull request May 5, 2022
# Objective
Fixes #4556

## Solution
StorageBuffer must use the Size of the std430 representation to calculate the buffer size, as the std430 representation is the data that will be written to it.
@bors bors bot changed the title StorageBuffer uses wrong type to calculate the buffer size. [Merged by Bors] - StorageBuffer uses wrong type to calculate the buffer size. May 5, 2022
@bors bors bot closed this May 5, 2022
robtfm pushed a commit to robtfm/bevy that referenced this pull request May 10, 2022
…ne#4557)

# Objective
Fixes bevyengine#4556

## Solution
StorageBuffer must use the Size of the std430 representation to calculate the buffer size, as the std430 representation is the data that will be written to it.
exjam pushed a commit to exjam/bevy that referenced this pull request May 22, 2022
…ne#4557)

# Objective
Fixes bevyengine#4556

## Solution
StorageBuffer must use the Size of the std430 representation to calculate the buffer size, as the std430 representation is the data that will be written to it.
ItsDoot pushed a commit to ItsDoot/bevy that referenced this pull request Feb 1, 2023
…ne#4557)

# Objective
Fixes bevyengine#4556

## Solution
StorageBuffer must use the Size of the std430 representation to calculate the buffer size, as the std430 representation is the data that will be written to it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Rendering Drawing game state to the screen C-Bug An unexpected or incorrect behavior S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it
Projects
None yet
Development

Successfully merging this pull request may close these issues.

StorageBuffer logs cryptic error, when Item Type has wrong size.
4 participants