Lines Matching defs:component
609 // If the member is a three-component vector with components consuming N
621 /** Calculate the valid values to use with the component qualifier
624 * the component qualifier is not allowed
634 /* The component qualifier cannot be used for matrices */
640 /* The component qualifier cannot be used for dvec3/dvec4 */
1066 GLint component = 0;
1083 program.GetResource(interface, index, GL_LOCATION_COMPONENT, 1 /* size */, &component);
1100 if (component != desc.m_expected_component)
1102 stream << "Attribute: " << desc.m_name << " - invalid component: " << component
3994 * @param expected_component Expected component of variable
4022 * @param expected_component Expected component of variable
4282 * @param expected_component Expected component of variable
4304 * @param expected_component Expected component of variable
13037 structure->Member("single", "" /* qualifiers */, 0 /* component */, 0 /* location */, type, false /* normalized */,
13041 structure->Member("array", "" /* qualifiers */, 0 /* component */, type.GetLocations() /* location */, type,
13044 si.Input("vs_in_single", "layout (location = 0)", 0 /* component */, 0 /* location */, type, false /* normalized */,
13048 si.Input("vs_in_array", "layout (location = 8)", 0 /* component */, 8 /* location */, type, false /* normalized */,
13052 si.Output("vs_tcs_output", "layout (location = 0)", 0 /* component */, 0 /* location */, structure,
13560 block->Member("fifth", "" /* qualifiers */, 0 /* component */, 4 /* location */, vec4, false /* normalized */,
13563 block->Member("third", "layout (location = 2)" /* qualifiers */, 0 /* component */, 2 /* location */, vec4,
13566 block->Member("fourth", "" /* qualifiers */, 0 /* component */, 3 /* location */, vec4, false /* normalized */,
13569 si.Output("vs_tcs_block", "layout (location = 4)", 0 /* component */, 4 /* location */, block,
13573 si.Input("vs_in_third", "layout (location = 0)", 0 /* component */, 0 /* location */, vec4, false /* normalized */,
13577 si.Input("vs_in_fourth", "layout (location = 1)", 0 /* component */, 1 /* location */, vec4, false /* normalized */,
13581 si.Input("vs_in_fifth", "layout (location = 2)", 0 /* component */, 2 /* location */, vec4, false /* normalized */,
15036 std::string VaryingComponentsTest::prepareName(const glw::GLchar* name, glw::GLint location, glw::GLint component,
15050 sprintf(buffer, "%d", component);
15056 std::string VaryingComponentsTest::prepareQualifiers(const glw::GLchar* location, const glw::GLchar* component,
15060 std::string qualifiers = "layout (location = LOCATION, component = COMPONENT) INTERPOLATION";
15063 Utils::replaceToken("COMPONENT", position, component, qualifiers);
15291 void VaryingComponentsTest::descriptor::assign(glw::GLint component, const glw::GLchar* component_str,
15295 m_component = component;
15333 "using an invalid value in the component "
15349 "layout (location = 1 /*, component = COMPONENT */) FLAT DIRECTION TYPE gokuARRAY[1];\n";
15351 "layout (location = 1 /*, component = COMPONENT */) FLAT DIRECTION TYPE gokuARRAY;\n";
15354 "layout (location = 1, component = COMPONENT) FLAT DIRECTION TYPE gokuARRAY[1];\n";
15356 "layout (location = 1, component = COMPONENT) FLAT DIRECTION TYPE gokuARRAY;\n";
15716 stream << ", component: " << test_case.m_component;
15803 "Test verifies that compiler reports error when component qualifier exceeds limits")
15818 "layout (location = 1 /*, component = 4 */) FLAT DIRECTION TYPE gokuARRAY[1];\n";
15820 "layout (location = 1 /*, component = 4 */) FLAT DIRECTION TYPE gokuARRAY;\n";
15823 "layout (location = 1, component = 4) FLAT DIRECTION TYPE gokuARRAY[1];\n";
15824 static const GLchar* var_definition_one = "layout (location = 1, component = 4) FLAT DIRECTION TYPE gokuARRAY;\n";
16250 "Test verifies that compiler reports error when component qualifier is used without location")
16264 static const GLchar* var_definition = "/* layout (component = COMPONENT) */ FLAT DIRECTION TYPE gokuARRAY;\n";
16266 static const GLchar* var_definition = "layout (component = COMPONENT) FLAT DIRECTION TYPE gokuARRAY;\n";
16586 stream << ", component: " << test_case.m_component;
16654 "Test verifies that compiler reports error when component qualifier is used for invalid type")
17031 sprintf(buffer, " /* , component = %d */", test_case.m_component);
17033 sprintf(buffer, ", component = %d", test_case.m_component);
17131 stream << ", component: " << test_case.m_component;
17249 "Test verifies that compiler reports component aliasing as error")
17263 "layout (location = 1, component = COMPONENT) FLAT in TYPE gohanARRAY;\n"
17265 "/* layout (location = 1, component = COMPONENT) */ FLAT in TYPE gotenARRAY;\n";
17267 "layout (location = 1, component = COMPONENT) FLAT in TYPE gotenARRAY;\n";
17307 "layout (location = 1, component = COMPONENT) FLAT out TYPE gohan;\n"
17366 "layout (location = 1, component = COMPONENT) FLAT out TYPE gohan[];\n"
17416 "layout (location = 1, component = COMPONENT) FLAT out TYPE gohan;\n"
17450 "layout (location = 1, component = COMPONENT) FLAT out TYPE gohan;\n"
17678 "Test verifies that compiler reports component aliasing as error")
17692 "layout (location = 1, component = COMPONENT) FLAT out TYPE gohanARRAY;\n"
17694 "/* layout (location = 1, component = COMPONENT) */ FLAT out TYPE gotenARRAY;\n";
17696 "layout (location = 1, component = COMPONENT) FLAT out TYPE gotenARRAY;\n";
18081 "layout (location = 1, component = COMPONENT) FLAT DIRECTION TYPE gohanARRAY;\n"
18082 "layout (location = 1, component = COMPONENT) FLAT DIRECTION TYPE gotenARRAY;\n";
18568 "layout (location = 1, component = COMPONENT) INTERPOLATION DIRECTION TYPE gohanARRAY;\n"
18569 "layout (location = 1, component = COMPONENT) INTERPOLATION DIRECTION TYPE gotenARRAY;\n";
18975 /* Just get the highest valid component for goten and
19117 "layout (location = 1, component = COMPONENT) AUX INTERPOLATION DIRECTION TYPE gohanARRAY;\n"
19118 "layout (location = 1, component = COMPONENT) AUX INTERPOLATION DIRECTION TYPE gotenARRAY;\n";
19558 /* Just get the highest valid component for goten and
23089 // According to spec: gl_SkipComponents1 ~ gl_SkipComponents4 is treated as specifying a one- to four-component floating point output variables with undefined values.
23163 // the MAX_VARYING_COMPONENTS is 32 in our driver, but when the variable type is dmat4 or dmat4x3, the number of output component is 33, to make the
25718 * The offset must be a multiple of the size of the first component of the first