patriciogonzalezvivo / glslViewer

Console-based GLSL Sandbox for 2D/3D shaders
BSD 3-Clause "New" or "Revised" License
4.57k stars 352 forks source link

glsl version over 130 not supported in Macbook m2 #321

Open choiharam opened 1 year ago

choiharam commented 1 year ago

Hey all,

I've just tested on the Macbook Air m2 and got this error after running the examples that are using the version >130:

Found error while compiling vertex shader
ERROR: 0:1: '' :  version '130' is not supported
Found error while compiling vertex shader
ERROR: 0:1: '' :  version '130' is not supported
Found error while compiling fragment shader
ERROR: 0:1: '' :  version '130' is not supported
Found error while compiling vertex shader
ERROR: 0:1: '' :  version '130' is not supported
Found error while compiling vertex shader
ERROR: 0:1: '' :  version '130' is not supported
Found error while compiling fragment shader
ERROR: 0:1: '' :  version '130' is not supported

I'm getting the same error for the github build and the homebrew.

Does anyone has the same issue?

t1anchen commented 5 months ago

same issue on intel x64 mac

test examples are all from source code repository examples (7eb6254)

ALl failed information are

Found error while compiling xxx shader
ERROR: 0:1: '' :  version 'xxx' is not supported
ERROR: 0:1: '' : syntax error: #version