Lines Matching defs:location
21 * \brief Attribute location tests
79 const deInt32 location = getBoundLocation(bindings, attributes[attribNdx].getName());
82 if (location != Attribute::LOC_UNDEF)
84 if (reservedSpaces.size() < location + size)
85 reservedSpaces.resize(location + size, false);
89 if (reservedSpaces[location + i])
92 reservedSpaces[location + i] = true;
118 src << "layout(location = " << iter->getLayoutLocation() << ") ";
270 ? "layout(location=0) out mediump vec4 dEQP_FragColor;"
301 ? "layout(location=0) out mediump vec4 dEQP_FragColor;"
492 << (attrib.getLayoutLocation() != Attribute::LOC_UNDEF ? ", Layout location " + de::toString(attrib.getLayoutLocation()) : "")
610 const deInt32 location = gl.getAttribLocation(program, attrib.getName().c_str());
615 << location << " = glGetAttribLocation(program, \"" << attrib.getName() << "\")"
619 if (attrib.getCondition() == Cond::COND_NEVER && location != -1)
620 log << TestLog::Message << "\tNote: Inactive attribute with location." << TestLog::EndMessage;
622 if (attrib.getCondition() != Cond::COND_NEVER && expectedLocation != Attribute::LOC_UNDEF && expectedLocation != location)
623 log << TestLog::Message << "\tError: Invalid attribute location." << TestLog::EndMessage;
625 isOk &= (attrib.getCondition() == Cond::COND_NEVER || expectedLocation == Attribute::LOC_UNDEF || expectedLocation == location);
680 Bind::Bind (const std::string& attribute, deUint32 location)
682 , m_location (location)