cl: Don't use device_infos if num_device_infos == 0
[piglit.git] / tests / glslparsertest / glsl2 / pragma-03.vert
blob20bb3fdcf7b139910a06f8bab15c43c14ed3741a
1 // [config]
2 // expect_result: fail
3 // glsl_version: 1.10
4 //
5 // [end config]
7 /* FAIL
8  *
9  * From page 11 (page 17 of the PDF) of the GLSL 1.10 spec:
10  *
11  *     "[#pragma debug] can only be used outside function definitions."
12  */
13 void main()
15 #pragma debug(off)
16   gl_Position = gl_Vertex;