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

Move visualizer uniform block to a different set #379

Merged
merged 1 commit into from
Jun 5, 2023

Conversation

LumpBloom7
Copy link
Collaborator

Texture/Sampler uniforms are expected to be in their own uniform sets, separate from uniform blocks.

Related papertrail: https://discord.com/channels/188630481301012481/589331078574112768/1115308889794158643

@LumpBloom7 LumpBloom7 added the bug Something isn't working label Jun 5, 2023
@LumpBloom7 LumpBloom7 requested a review from naoei June 5, 2023 16:29
Copy link
Member

@naoei naoei left a comment

Choose a reason for hiding this comment

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

Do the other shaders work? As far as I'm aware some of them face the same underlying issue.

@LumpBloom7
Copy link
Collaborator Author

Yes, they do (or should anyways). The only other shader that uses both texture/sample uniforms and uniform blocks is this one:
https://github.com/taulazer/tau/blob/master/osu.Game.Rulesets.Tau/Resources/Shaders/sh_Slider.fs#L11-L20C61, which already did things correctly.

@LumpBloom7 LumpBloom7 merged commit 15f9a0c into master Jun 5, 2023
8 checks passed
@naoei naoei deleted the Separate-Texture-uniforms branch June 5, 2023 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants