/third_party/glslang/Test/ |
H A D | spv.bufferhandle3.frag | 20 t4 foo(t4 y) { return y; }
23 foo(s5.m).j = s5.m.k.h;
|
H A D | spv.debugInfo.frag | 16 vec4 foo(S s)
60 outv = foo(s);
|
H A D | spv.exportFunctions.comp | 7 int foo() {
|
H A D | spv.forwardFun.frag | 10 float foo(vec4);
15 vec4 color = vec4(foo(BaseColor));
36 float foo(vec4 bar)
|
H A D | spv.fsi_Error.frag | 9 void foo()
|
H A D | spv.functionSemantics.frag | 5 int foo(int a, const int b, in int c, const in int d, out int e, inout int f)
23 int foo2(float a, vec3 b, out int r)
29 int foo3()
49 int color = foo(1, 2, t+t, 8, e, f.t.y);
57 ret = foo2(4, ivec3(1,2,3), arg); // ret = 10, param = 12.0
60 color += foo3(); // theoretically, add 2000000, for total of 2397317
|
H A D | spv.functionCall.frag | 9 float foo(vec4 bar)
37 vec4 color = vec4(foo(BaseColor));
|
H A D | spv.functionNestedOpaque.vert | 7 void foo(sampler2D t)
14 foo(p.s);
19 foo(p.s);
|
H A D | spv.intrinsicsSpirvDecorateString.comp | 4 spirv_decorate_string(extensions = ["SPV_GOOGLE_hlsl_functionality1"], 5635, "foobar") // UserSemantic
9 spirv_decorate_string(extensions = ["SPV_GOOGLE_hlsl_functionality1"], 5635, "foobar") // UserSemantic
|
H A D | spv.localAggregates.frag | 27 flat in s1 foo;
28 flat in s2 foo2;
29 flat in s3 foo3;
41 locals2 = foo3.s2_1;
43 if (foo3.s2_1.i > 0) {
46 localIArray[2] = foo3.s2_1.i;
|
H A D | spv.looseUniformNoLoc.vert | 4 in vec4 foo;
13 bar = foo;
14 gl_Position = foo;
|
H A D | spv.multiStruct.comp | 5 vec2 foo[2];
|
H A D | spv.multiStructFuncall.frag | 7 void fooConst(const in S s) { }
8 void foo(in S s) { }
9 void fooOut(inout S s) { }
13 fooConst(s1);
14 fooConst(s2);
16 foo(s1);
17 foo(s2);
19 fooOut(s1);
20 fooOut(s2);
|
H A D | spv.nonuniform.frag | 23 nonuniformEXT int foo(nonuniformEXT int nupi, nonuniformEXT out int f)
34 int a = foo(nu_li, nu_li);
|
H A D | spv.noBuiltInLoc.vert | 4 in vec4 foo;
17 bar = foo;
18 gl_Position = foo;
|
H A D | spv.precision.frag | 17 lowp vec2 foo(mediump vec3 mv3)
|
H A D | spv.precisionArgs.frag | 5 void fooConst(const in float f, const in highp float g) { } 7 void foo(in float f, in highp float g) { } 18 fooConst(aM, bM); // must copy bM 19 fooConst(aH, bH); // must copy aH 20 foo(aM, bM); 21 foo(aH, bH);
|
H A D | spv.separate.frag | 53 void foo()
|
H A D | spv.shortCircuit.frag | 14 bool foo() { ++of1; return of1 > 10.0; }
27 if (ub || foo()) // must short circuit
30 if (ub && foo()) // must short circuit
33 if (foo() || ub) // not worth short circuiting
36 if (foo() && ub) // not worth short circuiting
|
H A D | spv.simpleFunctionCall.frag | 5 vec4 foo()
12 gl_FragColor = foo();
|
H A D | spv.specConstant.vert | 17 void foo(vec4 p[arraySize]);
27 foo(ucol);
38 void foo(vec4 p[arraySize])
|
H A D | spv.structDeref.frag | 34 s0 foo0;
35 s1 foo1;
36 s2 foo2;
37 s3 foo3;
39 s00 foo00;
51 if (foo3.s2_1[9].i > 0) {
55 locals1Array[6] = foo1;
60 locals2.s1_1 = s1(1, coord.y, foo0);
63 locals0 = foo1.s0_1;
64 locals00 = foo00;
[all...] |
H A D | spv.structAssignment.frag | 27 lunarStruct1 foo;
28 lunarStruct2 foo2;
29 lunarStruct3 foo3;
35 if (foo3.s2_1.i > 0)
36 locals2 = foo3.s2_1;
38 locals2 = foo2;
|
H A D | spv.structure.frag | 17 lunarStruct1 foo;
18 lunarStruct2 foo2[5];
24 if (foo2[3].i[4] > 0)
25 scale = foo2[3].s1_1[2].color[3].x;
27 scale = foo2[3].s1_1[2].f[3];
|
H A D | spv.switch.frag | 8 vec4 foo1(vec4 v1, vec4 v2, int i1)
24 vec4 foo2(vec4 v1, vec4 v2, int i1)
131 color += foo1(v,v,c).y;
132 color += foo2(v,v,c).z;
|