Open emctague opened 2 years ago
In the following simple, valid vertex shader:
#version 330 core layout (location = 0) in vec3 pos; uniform mat4 projection; uniform mat4 model; void main() { gl_Position = projection * model * vec4(pos, 1.0f); }
The vec4 on line 9 is underlined in red, with <expression no assign> expected, got 'vec4'. This, however, is valid GLSL and works fine when actually used in a program.
vec4
<expression no assign> expected, got 'vec4'
Better GLSL version 0.0.5, AppCode 2022.1.2.
Hello, it's a known issue and i'll be working on it during summer break, I'm only a student but thank you for reporting the bug
In the following simple, valid vertex shader:
The
vec4
on line 9 is underlined in red, with<expression no assign> expected, got 'vec4'
. This, however, is valid GLSL and works fine when actually used in a program.Better GLSL version 0.0.5, AppCode 2022.1.2.