Skip to content

Conversation

@btipling
Copy link

No description provided.

result_t = NULL;
} else if (t) {
result_t = qualified_type_helper(a, shd_scope, t);
}
Copy link
Author

@btipling btipling Aug 13, 2025

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.

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");
Copy link
Collaborator

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

Copy link
Author

@btipling btipling Aug 14, 2025

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.

Copy link
Author

Choose a reason for hiding this comment

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

@btipling btipling force-pushed the bt/add_image_2d_ops branch from 7446c89 to ef4a9c7 Compare August 14, 2025 03:51
@btipling btipling force-pushed the bt/add_image_2d_ops branch from 9b733ad to d4407ab Compare August 14, 2025 04:00
@btipling btipling requested a review from Hugobros3 August 14, 2025 06:13
@Hugobros3
Copy link
Collaborator

FYI: #57

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