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

undeclared identifier 'texture2D', 'blur' #460

Closed
revmischa opened this issue Feb 13, 2021 · 3 comments
Closed

undeclared identifier 'texture2D', 'blur' #460

revmischa opened this issue Feb 13, 2021 · 3 comments

Comments

@revmischa
Copy link
Collaborator

Built-in idle preset no longer works:
Maybe related to recent changes

2021-02-13 12:32:53.655465+0200 SDLprojectM[6397:95939] INFO: Using data directory: /usr/local/share/projectM
2021-02-13 12:32:53.655678+0200 SDLprojectM[6397:95939] INFO: Config file not found, using built-in settings. Data directory=/Users/cyber/Library/Developer/Xcode/DerivedData/projectM-drbzylqdnfyhklebybsuyullfdrw/Build/Products/Debug/
[PCM] MAX SAMPLES:2048
Failed to compile shader 'Fragment: v2f_c4f_t2f'. Error: ERROR: 0:13: Invalid call of undeclared identifier 'texture2D'

Failed to compile shader 'Fragment: blur1'. Error: ERROR: 0:37: Invalid call of undeclared identifier 'texture2D'
ERROR: 0:38: Invalid call of undeclared identifier 'texture2D'
ERROR: 0:40: Invalid call of undeclared identifier 'texture2D'
ERROR: 0:41: Invalid call of undeclared identifier 'texture2D'
ERROR: 0:43: Invalid call of undeclared identifier 'texture2D'
ERROR: 0:44: Invalid call of undeclared identifier 'texture2D'
ERROR: 0:46: Invalid call of undeclared identifier 'texture2D'
ERROR: 0:47: Invalid call of undeclared identifier 'texture2D'
ERROR: 0:50: Use of undeclared identifier 'blur'
ERROR: 0:52: Use of undeclared identifier 'blur'
ERROR: 0:52: Use of undeclared identifier 'blur'
ERROR: 0:54: Use of undeclared identifier 'blur'

Failed to compile shader 'Fragment: blur2'. Error: ERROR: 0:34: Invalid call of undeclared identifier 'texture2D'
ERROR: 0:35: Invalid call of undeclared identifier 'texture2D'
ERROR: 0:37: Invalid call of undeclared identifier 'texture2D'
ERROR: 0:38: Invalid call of undeclared identifier 'texture2D'
ERROR: 0:40: Use of undeclared identifier 'blur'
ERROR: 0:47: Use of undeclared identifier 'blur'
ERROR: 0:49: Use of undeclared identifier 'blur'
@revmischa
Copy link
Collaborator Author

on macOS Big Sur

@revmischa
Copy link
Collaborator Author

Not sure of the cause; maybe related to 093164d

revmischa added a commit that referenced this issue Feb 13, 2021
revmischa added a commit that referenced this issue Feb 13, 2021
* Fix #460 - texture2D is renamed texture

* Get rid of sdl2 submodule. dumb idea.
@revmischa
Copy link
Collaborator Author

Fixed I think as part of #461

revmischa added a commit that referenced this issue Feb 14, 2021
* Mac installer now contains both the app and Music plugin
* Major xcode projects cleanup
* Working universal binary build with xcode and installer (needs universal sdl2 to link against)
* Fix #460 - texture2D is renamed texture (#462)
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

1 participant