mirror of
https://github.com/RPCS3/glslang.git
synced 2024-12-05 01:37:07 +00:00
5f1a0b7998
Also: - change source locations from an int to TSourceLoc (shader number, line number) throughout - various improvements to the preprocessor git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@22277 e7fa87d3-cd2b-0410-9028-fcbf551c1848
21 lines
299 B
GLSL
21 lines
299 B
GLSL
#version 300 es
|
|
|
|
// this file cont\
|
|
ains no errors other than the #error which are there to see if line numbering for errors is correct
|
|
|
|
#error e1
|
|
|
|
float f\
|
|
oo; // same as 'float foo;'
|
|
|
|
#error e2
|
|
|
|
#define MAIN void main() \
|
|
{ \
|
|
gl_Position = vec4(foo); \
|
|
}
|
|
|
|
#error e3
|
|
|
|
MAIN
|