-
Notifications
You must be signed in to change notification settings - Fork 18
Add storage images and support for store and querying image size #55
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
base: main
Are you sure you want to change the base?
Conversation
| result_t = NULL; | ||
| } else if (t) { | ||
| result_t = qualified_type_helper(a, shd_scope, t); | ||
| } |
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.
So I think I had to make this change because imageStore has a void return type? I don't know if this is correct.
vcc/include/shady.h
Outdated
| native_vec4 texture3D(const sampler3D, native_vec3) __asm__("shady::impure_op::spirv.core::87::Invocation"); | ||
| native_vec4 textureCube(const samplerCube, native_vec3) __asm__("shady::impure_op::spirv.core::87::Invocation"); | ||
|
|
||
| native_ivec2 imageSize(image2D img) __asm__("shady::pure_op::spirv.core::104::Invocation"); |
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.
this PR would make a lot more sense if this also included the load ops
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.
@Hugobros3 my bad, I realized looking at the rest of the header file that I hadn't done a very good job here. I hope the changes I have made in 59b1adf (and the other commits) are an improvement.
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.
7446c89 to
ef4a9c7
Compare
9b733ad to
d4407ab
Compare
|
FYI: #57 |
No description provided.