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

UNSUPPORTED (log once): POSSIBLE ISSUE: unit 0 GLD_TEXTURE_INDEX_2D is unloadable and bound to sampler type (Float) #14

Open
ZhangHanDong opened this issue Feb 23, 2022 · 12 comments

Comments

@ZhangHanDong
Copy link

Execute cargo ui on macbook m1(stable-aarch64-apple-darwin):


UNSUPPORTED (log once): POSSIBLE ISSUE: unit 0 GLD_TEXTURE_INDEX_2D is unloadable and bound to sampler type (Float) - using zero texture because texture unloadable

@ZhangHanDong ZhangHanDong changed the title UNSUPPORTED (log once): POSSIBLE ISSUE: unit 0 GLD_TEXTURE_INDEX_2D is unloadable and bound to sampler type (Float) - using zero texture because texture unloadable UNSUPPORTED (log once): POSSIBLE ISSUE: unit 0 GLD_TEXTURE_INDEX_2D is unloadable and bound to sampler type (Float) Feb 23, 2022
@tronical
Copy link
Member

I haven't seen this particular message before, but I've seen similar messages sometimes. When I've seen them though they were a warning merely, sometimes the result of drawing "zero" geometries.

Are you seeing this as an error message or is this just output but otherwise cargo-ui works fine?

@yhorm-giant
Copy link

I came across the same issue today, as I was using the SOIL to load texture, still don't know how to solve it

@wenh-zhang
Copy link

I came across the same issue today, as I was using the SOIL to load texture, still don't know how to solve it

do you know how to solve it now?

@brezhart
Copy link

any updates?

@tronical
Copy link
Member

@FloVanGH can you reproduce this on your Apple silicon machine? (Using the femtovg renderer, not Qt)

@FloVanGH

This comment was marked as off-topic.

@FloVanGH
Copy link
Member

With stable I can build and cannot reproduce the error of the issue.

@brezhart
Copy link

This error also happening when am trying passing texture using sf::Shader::setUniform. Can be related to that.

@tronical
Copy link
Member

This error also happening when am trying passing texture using sf::Shader::setUniform. Can be related to that.

Could you elaborate what sf::Shader::setUniform is?

@SylvanFranklin
Copy link

any updates on this?

@tronical
Copy link
Member

any updates on this?

Would you have any information how to reproduce it? I've got an m1 here and running cargo-ui doesn't show any of this for me :-/

@SylvanFranklin
Copy link

I'm actually getting the error in raw openGL c++ but seems like the exact same issue, and is operating system specific. I don't know exactly how to reproduce, but I found some discussion here

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

7 participants