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

Remove UnsafeFeatures as we decided the top level guard is not useful #764

Merged
merged 1 commit into from
Jul 7, 2020

Conversation

kvark
Copy link
Member

@kvark kvark commented Jul 7, 2020

Connections
Reverts part of #691 about unsafe extensions

Description
Top-level unsafe is not sound. We still need unsafety close to the spot where it's triggered.

Testing
untested

@kvark kvark requested a review from cwfitzgerald July 7, 2020 03:50
Copy link
Contributor

@monocodus monocodus bot left a comment

Choose a reason for hiding this comment

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

The .monocodus config not found in your repo. Default config is used.
Check config documentation here

Copy link
Member

@cwfitzgerald cwfitzgerald left a comment

Choose a reason for hiding this comment

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

LGTM!

@cwfitzgerald
Copy link
Member

bors r+

@bors
Copy link
Contributor

bors bot commented Jul 7, 2020

@bors bors bot merged commit 438ac00 into gfx-rs:master Jul 7, 2020
@kvark kvark deleted the unsafe branch July 7, 2020 13:13
kvark pushed a commit to kvark/wgpu that referenced this pull request Jun 3, 2021
914:  Change the texture sample type for the cube example from Float to Uint r=kvark a=igowen

this is a rework of gfx-rs#764. i think wgpu supports everything we need for this now!



Co-authored-by: Ian Gowen <ian@gowen.cc>
Patryk27 pushed a commit to Patryk27/wgpu that referenced this pull request Nov 23, 2022
…tions (gfx-rs#764)

* [msl-out] wrap arrays in structs so that they can be returned by functions

* Fix clippy problems

* use a raw array for output fields

* Fix clippy problems

* Apply suggestions

* Remove put_initialization_component

* Check if the array is a constant size

* Don't use the pointer class
cwfitzgerald pushed a commit that referenced this pull request Oct 25, 2023
Assigning arrays by value works fine since all arrays are now wrapped by a struct.

Co-authored-by: teoxoy <28601907+teoxoy@users.noreply.github.com>
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