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

Fix SPIR-V back-end, width will now be multiplied by 8 #108

Merged
merged 1 commit into from
Jul 12, 2020

Conversation

Timo-DK
Copy link
Collaborator

@Timo-DK Timo-DK commented Jul 11, 2020

With the change of the bits to Bytes in the IR, the SPIR-V back-end failed to correctly validate OpTypeFloat and OpTypeInt. Their width operand requires the bits, not the bits.

@Timo-DK Timo-DK requested a review from kvark July 11, 2020 17:08
@Timo-DK Timo-DK force-pushed the multiply-width-fix branch from 71bd05b to 321dc95 Compare July 11, 2020 17:25
Copy link
Member

@kvark kvark left a comment

Choose a reason for hiding this comment

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

Thank you! Just a few small things :)

src/back/spv/writer.rs Outdated Show resolved Hide resolved
src/back/spv/writer.rs Outdated Show resolved Hide resolved
@Timo-DK Timo-DK force-pushed the multiply-width-fix branch from 321dc95 to ed29d47 Compare July 12, 2020 15:24
@Timo-DK Timo-DK force-pushed the multiply-width-fix branch from ed29d47 to 15f544e Compare July 12, 2020 15:26
Copy link
Member

@kvark kvark left a comment

Choose a reason for hiding this comment

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

Thank you!

@kvark kvark merged commit e55c6b5 into gfx-rs:master Jul 12, 2020
@Timo-DK Timo-DK deleted the multiply-width-fix branch August 21, 2020 17:04
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