Skip to content

Conversation

@JRBros2346
Copy link

No description provided.

@JRBros2346
Copy link
Author

JRBros2346 commented May 20, 2025

Updated librashader from 0.7.1 to passmeta-preset branch
Also replaced sugarloaf\src\components\filters\runtime with librashader-runtime-wgpu. Latest version supports float16, so it should not be a major problem.
Due to the previous change, i had to remove this line I don't know its significance, but hopefully its not a major problem.
Huge thanks to @chyyran for helping me out through this process.

Enumerating all the Shader Parameters now works AWESOME ✨
We shall use the Git Branch of librashader until its available in crates.io

self.framecount = self.framecount.wrapping_add(1);
if let Err(err) = filter.frame(
filter_src_texture,
&*filter_src_texture,
Copy link
Owner

Choose a reason for hiding this comment

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

was this a change in the library?

Copy link
Author

Choose a reason for hiding this comment

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

Yes, thats right. FilterChainWgpu::frame requires a &texture instead of an Arc<Texture>

@JRBros2346
Copy link
Author

JRBros2346 commented Jun 2, 2025

Since librashader doesn't require an Arc<Texture> reference anymore, i have removed those and replaced them with &Texture references.

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