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

Use clamp to edge on vulkan and enable portability features #164

Merged
merged 2 commits into from
May 17, 2024

Conversation

kanerogers
Copy link
Collaborator

@kanerogers kanerogers requested a review from Ralith as a code owner May 17, 2024 00:53
Copy link
Member

@LPGhatguy LPGhatguy left a comment

Choose a reason for hiding this comment

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

A couple comments and questions from me, but looks good!

crates/yakui-vulkan/src/vulkan_texture.rs Show resolved Hide resolved
crates/yakui-vulkan/examples/demo.rs Outdated Show resolved Hide resolved
crates/yakui-vulkan/examples/demo.rs Outdated Show resolved Hide resolved
@kanerogers kanerogers force-pushed the use_clamp_to_edge_on_vulkan branch from 9c517b1 to cf91d26 Compare May 17, 2024 11:10
@kanerogers
Copy link
Collaborator Author

Apologies for the silly issues here; have been travelling a lot and am quite sleep deprived.

Have force-pushed a new commit that addresses each of the comments; let me know if anything is still wonky!

Copy link
Member

@LPGhatguy LPGhatguy left a comment

Choose a reason for hiding this comment

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

LGTM! Just waiting on Ralith's sign-off.

@@ -100,7 +100,7 @@ impl VulkanTexture {
mag_filter,
} = create_info;

let address_mode = vk::SamplerAddressMode::REPEAT;
let address_mode = vk::SamplerAddressMode::CLAMP_TO_EDGE;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Shouldn't this be in the previous commit?

@kanerogers kanerogers merged commit 33f50fb into main May 17, 2024
2 checks passed
@kanerogers kanerogers deleted the use_clamp_to_edge_on_vulkan branch May 17, 2024 22:08
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.

vulkan: Demo is not portability compliant vulkan: Samplers should be "clamp to edge", not "repeat"
3 participants