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

fsr-pass0.slang #195

Open
dhyangfirst opened this issue Sep 27, 2021 · 2 comments
Open

fsr-pass0.slang #195

dhyangfirst opened this issue Sep 27, 2021 · 2 comments

Comments

@dhyangfirst
Copy link

Thanks for your fsr demo for opengl.

I have applied the shader fsr-pass0.slang on my opengles platform, the input picture is raw rgba8888, but the output picture is just pure red color.

Can you give any advice?

@dhyangfirst
Copy link
Author

The platform is Qcom snapdragon 888.
If I use "FragColor = texture(Source, vTexCoord);" that no use this feature, there is no problem. Fsr-pass1.slang also has this problem which seems that the Source texture cause the issue.

@hizzlekizzle
Copy link
Collaborator

If both of them are doing it, I suspect something is up with the compatibility macros:
https://github.com/libretro/slang-shaders/blob/master/fsr/shaders/ffx_a.h

That is, there's barely anything going on in pass0, so maybe try replacing those macros with regular declarations (vec4, etc.).

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

No branches or pull requests

2 participants