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

Shaders: Remove AsciiArt shader #9134

Merged
merged 1 commit into from Oct 21, 2020
Merged

Shaders: Remove AsciiArt shader #9134

merged 1 commit into from Oct 21, 2020

Conversation

SpaceXCheeseWheel
Copy link
Contributor

This shader has been rendered nonfunctional due to the removal of the function SampleFontLocation, which was never implemented in VideoCommon. The last reference to SampleFontLocation was located in the OGL video backend. It was removed in this commit: f039149, where many functions were moved to video common, among other things.

This shader should be removed so it does not confuse users with the error that it causes. Alternatively, it could be rewritten so it is compatible with modern versions of Dolphin. I am not familiar with GLSL, so this is currently beyond my skill set.

This shader has been rendered nonfunctional due to the removal of the function SampleFontLocation, which was never implemented in VideoCommon. The last reference to SampleFontLocation was located in the OGL video backend. It was removed in this commit: f039149#diff-24125a6c968a8aca9cadd977d4b9d68f, where many functions were moved to video common, among other things.

This shader should be removed so it does not confuse users with the error that it causes. Alternatively, it could be rewritten so it is compatible with modern versions of Dolphin. I am not familiar with GLSL, so this is currently beyond my skill set.
@leoetlino
Copy link
Member

Since it is currently totally broken, there's not much point to keeping it around. We can always add it back later when/if somebody fixes it or reimplements the missing shader utility function.

@leoetlino leoetlino merged commit 83b80b2 into dolphin-emu:master Oct 21, 2020
10 checks passed
@SpaceXCheeseWheel SpaceXCheeseWheel deleted the patch-1 branch October 23, 2020 23:17
@degasus
Copy link
Member

degasus commented Nov 26, 2020

If someone comes up to this PR and wants to reimplement this shader: Having an ASCII art shader would be nice, but DO NOT USE the same method as this old shader. It was fun to write, but the outcome was not really worth to ship to anyone. Sorry for bothering so many people....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants