Lines Matching defs:gohan
8542 "uniform uint gohan[gl_MaxTransformFeedbackBuffers / GOHAN_DIV];\n"
8584 " for (uint i = 0u; i < gohan.length(); ++i)\n"
8586 " gohan_sum += gohan[i];\n"
8630 GLint gohan_location = program.GetUniformLocation("gohan");
13123 " vec4 gohan;\n"
13130 static const GLchar* input_use = " result += data.gohan + data.goten;\n";
13133 static const GLchar* output_use = " dataINDEX.gohan = result / 2;\n"
13134 " dataINDEX.goten = result / 4 - dataINDEX.gohan;\n";
13631 " layout (location = 2) vec4 gohan;\n"
13636 " vec4 gohan;\n"
13644 static const GLchar* input_use = " result += gokuINDEX.gohan + gokuINDEX.goten + gokuINDEX.chichi;\n";
13645 static const GLchar* output_use = " gokuINDEX.gohan = result / 2;\n"
13646 " gokuINDEX.goten = result / 4 - gokuINDEX.gohan;\n"
14041 " vec4 gohan[4];\n"
14050 static const GLchar* input_use = " result += dbzINDEX.goku + dbzINDEX.gohan[0] + dbzINDEX.gohan[1] + "
14051 "dbzINDEX.gohan[3] + dbzINDEX.gohan[2] + dbzINDEX.goten + dbzINDEX.chichi + "
14054 " dbzINDEX.gohan[0] = result / 2;\n"
14055 " dbzINDEX.gohan[1] = result / 2.25;\n"
14056 " dbzINDEX.gohan[2] = result / 2.5;\n"
14057 " dbzINDEX.gohan[3] = result / 2.75;\n"
14058 " dbzINDEX.goten = result / 4 - dbzINDEX.gohan[0] - dbzINDEX.gohan[1] - "
14059 "dbzINDEX.gohan[2] - dbzINDEX.gohan[3];\n"
17307 "layout (location = 1, component = COMPONENT) FLAT out TYPE gohan;\n"
17314 " gohan = TYPE(1);\n"
17366 "layout (location = 1, component = COMPONENT) FLAT out TYPE gohan[];\n"
17373 " gohan[gl_InvocationID] = TYPE(1);\n"
17416 "layout (location = 1, component = COMPONENT) FLAT out TYPE gohan;\n"
17423 " gohan = TYPE(1);\n"
17450 "layout (location = 1, component = COMPONENT) FLAT out TYPE gohan;\n"
17457 " gohan = TYPE(1);\n"
18963 const GLuint gohan = valid_components_gohan.front();
18978 const GLuint min_component = gohan + type_gohan.GetNumComponents();
19024 testCase test_case_in = { gohan,
19049 testCase test_case_out = { gohan,
19546 const GLuint gohan = valid_components_gohan.front();
19561 const GLuint min_component = gohan + type_gohan.GetNumComponents();
19593 testCase test_case_patch_gohan = { gohan, goten, auxiliary, NONE,
19595 testCase test_case_patch_goten = { gohan, goten, NONE, auxiliary,
19615 testCase test_case_out = { gohan, goten, auxiliary, second_auxiliary,
19623 testCase test_case_in = { gohan, goten, auxiliary, second_auxiliary,
19694 /* We still need to get locations for gohan and chichi */
19737 si.Input("gohan" /* name */, "" /* qualifiers */, 0 /* expected_componenet */,
19885 " gohan = vec4(1, 0, 0, 1);\n";
19915 si.Output("gohan" /* name */, "" /* qualifiers */, 0 /* expected_componenet */,
19955 /* Prepare locations for gohan and chichi */
19967 if (0 == desc.m_name.compare("gohan"))
20017 // The fragment shader can have more than 4 color outputs, but it only care about 4 (goku, gohan, goten, chichi).
21205 "layout (xfb_offset = 16) out vec4 gohan[4];\n";
21213 " vec4 gohan;\n"
21223 "layout (xfb_offset = 32) out vec4 gohan;\n";
21224 // The test considers gohan overflows the buffer 0, but according to spec, it is valid to declare the variable with qualifier "layout (xfb_offset = 16, xfb_stride = 32) out vec4 gohan;"
21229 "layout (xfb_offset = 16 /*, xfb_stride = 28 */ ) out vec4 gohan;\n";
21233 "layout (xfb_offset = 16, xfb_stride = 28) out vec4 gohan;\n";
21235 static const GLchar* array_use = " gohan[0] = result / 2;\n"
21236 " gohan[1] = result / 4;\n"
21237 " gohan[2] = result / 6;\n"
21238 " gohan[3] = result / 8;\n";
21239 static const GLchar* block_use = " goku.gohan = result / 2;\n"
21242 static const GLchar* output_use = "gohan = result / 4;\n";
21905 " vec4 gohan;\n"
21909 static const GLchar* var_use = " gokuINDEX.gohan = vec4(1, 0, 0, 0);\n"
21914 " gokuINDEX.gohan = vec4(0, 1, 1, 1);\n"
22304 static const GLchar* gs = " gohan = uni_gohan;\n"
22307 static const GLchar* fs = " fs_out = gohan + goten + chichi;\n";
22335 " vec4 gohan;\n"
22345 " vec4 gohan;\n"
22376 const GLuint gohan_id = program.GetResourceIndex("gohan", GL_TRANSFORM_FEEDBACK_VARYING);
23561 " gohan = uni_gohan;\n"
23573 static const GLchar* fs = " fs_out = gohan + goku + goten;\n";
23605 "layout (stream = 0, xfb_buffer = 1, xfb_offset = 32) out vec4 gohan;\n"
23623 "in vec4 gohan;\n"
23670 "layout (stream = 1, xfb_buffer = 3, xfb_offset = 32) out vec4 gohan;\n"
23674 "layout (stream = 1, xfb_buffer = 1, xfb_offset = 32) out vec4 gohan;\n"
23678 " gohan = result / 4;\n"
24560 " flat TYPE gohan;\n"
24569 " if (TYPE(1) != chichi + bulma + vegeta.trunk + vegeta.bra + goku.gohan + goku.goten)\n"
24650 " goku.gohan = uni_gohan;\n"
24664 " flat TYPE gohan;\n"
25188 " vec4 gohan;\n"
25195 static const GLchar* var_use = " goku.gohan = result / 2;\n"
25459 static const GLchar* var_definition = "layout (xfb_offset = 0) out TYPE gohan;\n"
25465 static const GLchar* var_use = " gohan = TYPE(0);\n"
25469 " gohan = TYPE(1);\n"
25761 static const GLchar* var_definition = "/* layout (xfb_offset = OFFSET) */ out TYPE gohan;\n";
25763 static const GLchar* var_definition = "layout (xfb_offset = OFFSET) out TYPE gohan;\n";
25765 static const GLchar* var_use = " gohan = TYPE(0);\n"
25768 " gohan = TYPE(1);\n"
26137 " gohan = uni_gohan;\n";
26138 static const GLchar* fs = " fs_out = goku + gohan + goten;\n";
26191 "layout (xfb_offset = 2 * sizeof_type) out vec4 gohan;\n"
26199 "in vec4 gohan;\n"
26505 /* gohan - y, w - 0 */
26544 " gohan.y = uni_gohan.y ;\n"
26545 " gohan.w = uni_gohan.w ;\n"
26554 static const GLchar* fs = " fs_out = goku + gohan + goten + chichi + vegeta + trunks + bra + bulma;\n";
26607 "layout (xfb_offset = 0 * sizeof_type) out vec4 gohan;\n"
26630 "in vec4 gohan;\n"
26942 " gohan = uni_gohan;\n";
26943 static const GLchar* fs = " fs_out = goten + gohan + chichi;\n";
26996 " vec4 gohan;\n"
27006 " vec4 gohan;\n"
27287 " goku.gohan = uni_gohan;\n";
27288 static const GLchar* fs = " fs_out = goku.goten + goku.gohan + goku.chichi;\n";
27341 " vec4 gohan;\n"
27353 " vec4 gohan;\n"