Skip to content
This repository was archived by the owner on Jan 29, 2025. It is now read-only.

glsl-in: Add support for texelFetchOffset #1746

Merged
merged 1 commit into from
Mar 2, 2022

Conversation

JCapucho
Copy link
Collaborator

No description provided.

Copy link
Member

@kvark kvark left a comment

Choose a reason for hiding this comment

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

Are these clippy warnings new?

@@ -322,7 +323,7 @@ pub fn inject_builtin(
let dim_value = image_dims_to_coords_size(dim);
let coordinates = make_coords_arg(dim_value + arrayed as usize, Sk::Sint);

let args = vec![
let mut args = vec![
Copy link
Member

Choose a reason for hiding this comment

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

perhaps we should do ArrayVec instead?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I would fine with doing this in another PR but I don't think mixing unrelated changes in the same PR would be a good idea.

@kvark
Copy link
Member

kvark commented Feb 25, 2022

We should probably run Clippy on MSRV only, so that it's predictable.

@JCapucho JCapucho force-pushed the glsl-texelFetchOffset branch from 58fb789 to 0d2c03d Compare March 1, 2022 15:42
@JCapucho
Copy link
Collaborator Author

JCapucho commented Mar 1, 2022

@kvark sorry for the late response, was out of town for a while, jim seems to have already fixed the clippy lint but it might still be a good idea to change the pipeline to use the MSRV or the latest stable (and maybe have another optional pipeline for checking on nightly), I can implement it if you want, just wanted to hear your thoughts on the matter.

@JCapucho JCapucho force-pushed the glsl-texelFetchOffset branch from 0d2c03d to d4a261f Compare March 1, 2022 15:49
@kvark kvark merged commit d449d2e into gfx-rs:master Mar 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants