Home | History | Annotate | Download | only in glshared

Lines Matching full:bindings

66 deInt32 getBoundLocation (const map<string, deUint32>& bindings, const string& attrib)
68 std::map<string, deUint32>::const_iterator iter = bindings.find(attrib);
70 return (iter == bindings.end() ? (deInt32)Attribute::LOC_UNDEF : iter->second);
73 bool hasAttributeAliasing (const vector<Attribute>& attributes, const map<string, deUint32>& bindings)
79 const deInt32 location = getBoundLocation(bindings, attributes[attribNdx].getName());
602 bool checkAttribLocationQuery (TestLog& log, const glw::Functions& gl, deUint32 program, const vector<Attribute>& attributes, const map<string, deUint32>& bindings)
609 const deInt32 expectedLocation = (attrib.getLayoutLocation() != Attribute::LOC_UNDEF ? attrib.getLayoutLocation() : getBoundLocation(bindings, attrib.getName()));
631 bool checkQuery (TestLog& log, const glw::Functions& gl, deUint32 program, const vector<Attribute>& attributes, const map<string, deUint32>& bindings)
635 if (!checkAttribLocationQuery(log, gl, program, attributes, bindings))
820 vector<Bind> bindings;
823 bindings.push_back(Bind("a_0", 3));
825 runTest(m_testCtx, m_renderCtx, attributes, noBindings, bindings, noBindings, false);
847 vector<Bind> bindings;
855 bindings.push_back(Bind("a_" + de::toString(ndx), loc));
859 runTest(m_testCtx, m_renderCtx, attributes, noBindings, bindings, noBindings, false);
882 vector<Bind> bindings;
886 bindings.push_back(Bind("a_0", 1));
887 bindings.push_back(Bind("a_1", 1 + m_offset));
889 runTest(m_testCtx, m_renderCtx, attributes, noBindings, bindings, noBindings, false);
911 vector<Bind> bindings;
919 bindings.push_back(Bind("a_" + de::toString(ndx), loc));
922 bindings.push_back(Bind("a_" + de::toString(ndx + maxAttributes), loc));
926 runTest(m_testCtx, m_renderCtx, attributes, noBindings, bindings, noBindings, false);
949 vector<Bind> bindings;
953 bindings.push_back(Bind("a_0", 0));
961 bindings.push_back(Bind("a_" + de::toString(ndx), loc));
966 runTest(m_testCtx, m_renderCtx, attributes, noBindings, bindings, noBindings, false);
989 vector<Bind> bindings;
997 bindings.push_back(Bind("a_" + de::toString(ndx), loc));
1000 bindings.push_back(Bind("a_" + de::toString(ndx + maxAttributes), loc));
1004 runTest(m_testCtx, m_renderCtx, attributes, noBindings, bindings, noBindings, false);
1020 vector<Bind> bindings;
1023 bindings.push_back(Bind("a_0", 3));
1025 runTest(m_testCtx, m_renderCtx, attributes, bindings, noBindings, noBindings, false);
1041 vector<Bind> bindings;
1044 bindings.push_back(Bind("a_0", 3));
1046 runTest(m_testCtx, m_renderCtx, attributes, noBindings, bindings, noBindings, false);
1062 vector<Bind> bindings;
1065 bindings.push_back(Bind("a_0", 3));
1067 runTest(m_testCtx, m_renderCtx, attributes, noBindings, noBindings, bindings, false);
1177 vector<Bind> bindings;
1181 bindings.push_back(Bind("a_0", 4));
1183 runTest(m_testCtx, m_renderCtx, attributes, noBindings, bindings, noBindings, false);
1204 vector<Bind> bindings;
1217 bindings.push_back(Bind("a_" + de::toString(ndx), loc));
1223 runTest(m_testCtx, m_renderCtx, attributes, noBindings, bindings, noBindings, false);
1245 vector<Bind> bindings;
1250 bindings.push_back(Bind("a_0", 0));
1262 bindings.push_back(Bind("a_" + de::toString(ndx), loc));
1268 runTest(m_testCtx, m_renderCtx, attributes, noBindings, bindings, noBindings, false);
1404 vector<Bind> bindings;
1409 bindings.push_back(Bind("a_0", 1));
1410 bindings.push_back(Bind("a_1", 1));
1414 runTest(m_testCtx, m_renderCtx, attributes, noBindings, bindings, noBindings, false, true, reattachAttributes);
1430 vector<Bind> bindings;
1433 bindings.push_back(Bind("a_0", 3));
1435 runTest(m_testCtx, m_renderCtx, attributes, bindings, noBindings, noBindings, false);
1451 vector<Bind> bindings;
1454 bindings.push_back(Bind("a_0", 3));
1456 runTest(m_testCtx, m_renderCtx, attributes, noBindings, bindings, noBindings, false);
1472 vector<Bind> bindings;
1475 bindings.push_back(Bind("a_0", 3));
1477 runTest(m_testCtx, m_renderCtx, attributes, noBindings, noBindings, bindings, false);
1494 vector<Bind> bindings;
1499 bindings.push_back(Bind("a_0", 1));
1500 bindings.push_back(Bind("a_1", 1));
1504 runTest(m_testCtx, m_renderCtx, attributes, noBindings, bindings, noBindings, false, true, reattachAttributes);