-
-
Notifications
You must be signed in to change notification settings - Fork 42
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
Expose SPIRType::ImageType to Rust #170
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, thanks!
bors r+
170: Expose SPIRType::ImageType to Rust r=grovesNL a=Rob2309 These changes allow querying the type of an Image/SampledImage resource more effectively. Now you can query - The dimension of the Image (1D, 2D, Cube, etc.) - The format of the Image, if known - How it is accessed (Sampled or read directly) - whether it is an array texture - ... Co-authored-by: Robin Quint <[email protected]>
Timed out. |
bors retry |
170: Expose SPIRType::ImageType to Rust r=grovesNL a=Rob2309 These changes allow querying the type of an Image/SampledImage resource more effectively. Now you can query - The dimension of the Image (1D, 2D, Cube, etc.) - The format of the Image, if known - How it is accessed (Sampled or read directly) - whether it is an array texture - ... Co-authored-by: Robin Quint <[email protected]>
Timed out. |
Oh I forgot to mention, I also exposed the array_size_literal information for the types it applies to. "storage" and "width" fields are also present in the wrapper but not yet exposed to rust, since I had no need for them yet. |
Sounds good 👍 thanks! |
These changes allow querying the type of an Image/SampledImage resource more effectively. Now you can query