Lines Matching refs:programID
54 typedef void (*SetupUniformsFunc) (const glw::Functions& gl, deUint32 programID, const tcu::Vec4& c…
65 virtual void setupUniforms (int programID, const tcu::Vec4& constCoords);
111 void ShaderStructCase::setupUniforms (int programID, const tcu::Vec4& constCoords) in setupUniforms() argument
113 ShaderRenderCase::setupUniforms(programID, constCoords); in setupUniforms()
115 m_setupUniforms(m_renderCtx.getFunctions(), programID, constCoords); in setupUniforms()
1146 void setUniform (const glw::Functions& gl, deUint32 programID, const char* name, const tcu::VECTYPE…
1148 int loc = gl.getUniformLocation(programID, name); \
1155 void setUniform (const glw::Functions& gl, deUint32 programID, const char* name, const tcu::VECTYPE…
1157 int loc = gl.getUniformLocation(programID, name); \
1167 void setUniform (const glw::Functions& gl, deUint32 programID, const char* name, float value) in setUniform() argument
1169 int loc = gl.getUniformLocation(programID, name); in setUniform()
1174 void setUniform (const glw::Functions& gl, deUint32 programID, const char* name, int value) in setUniform() argument
1176 int loc = gl.getUniformLocation(programID, name); in setUniform()
1181 void setUniform (const glw::Functions& gl, deUint32 programID, const char* name, const float* value… in setUniform() argument
1183 int loc = gl.getUniformLocation(programID, name); in setUniform()
1194 …ms_##NAME { static void setUniforms (const glw::Functions& gl, deUint32 programID, const tcu::Vec4… in init()
1218 setUniform(gl, programID, "s.a", constCoords.x()); in init()
1219 setUniform(gl, programID, "s.b", constCoords.swizzle(1, 2, 3)); in init()
1220 setUniform(gl, programID, "s.c", 1); in init()
1249 setUniform(gl, programID, "s.a", constCoords.x()); in init()
1250 setUniform(gl, programID, "s.b.a", 0); in init()
1251 setUniform(gl, programID, "s.b.b", constCoords.swizzle(1,2)); in init()
1252 setUniform(gl, programID, "s.c", 1); in init()
1276 setUniform(gl, programID, "s.a", constCoords.w()); in init()
1277 setUniform(gl, programID, "s.c", 1); in init()
1283 setUniform(gl, programID, "s.b", b, DE_LENGTH_OF_ARRAY(b)); in init()
1309 setUniform(gl, programID, "s.a", constCoords.w()); in init()
1310 setUniform(gl, programID, "s.c", 1); in init()
1316 setUniform(gl, programID, "s.b", b, DE_LENGTH_OF_ARRAY(b)); in init()
1341 setUniform(gl, programID, "s[0].a", constCoords.x()); in init()
1342 setUniform(gl, programID, "s[0].b", 0); in init()
1343 setUniform(gl, programID, "s[1].a", constCoords.y()); in init()
1344 setUniform(gl, programID, "s[1].b", 1); in init()
1345 setUniform(gl, programID, "s[2].a", constCoords.z()); in init()
1346 setUniform(gl, programID, "s[2].b", 2); in init()
1371 setUniform(gl, programID, "s[0].a", constCoords.x()); in init()
1372 setUniform(gl, programID, "s[0].b", 0); in init()
1373 setUniform(gl, programID, "s[1].a", constCoords.y()); in init()
1374 setUniform(gl, programID, "s[1].b", 1); in init()
1375 setUniform(gl, programID, "s[2].a", constCoords.z()); in init()
1376 setUniform(gl, programID, "s[2].b", 2); in init()
1408 setUniform(gl, programID, "s[0].a", constCoords.x()); in init()
1411 setUniform(gl, programID, "s[0].b[0].a", 0.5f); in init()
1412 setUniform(gl, programID, "s[0].b[0].b", &arr[0], DE_LENGTH_OF_ARRAY(arr)); in init()
1415 setUniform(gl, programID, "s[0].b[1].a", 1.0f/3.0f); in init()
1416 setUniform(gl, programID, "s[0].b[1].b", &arr[0], DE_LENGTH_OF_ARRAY(arr)); in init()
1419 setUniform(gl, programID, "s[0].b[2].a", 1.0f/4.0f); in init()
1420 setUniform(gl, programID, "s[0].b[2].b", &arr[0], DE_LENGTH_OF_ARRAY(arr)); in init()
1421 setUniform(gl, programID, "s[0].c", 0); in init()
1423 setUniform(gl, programID, "s[1].a", constCoords.w()); in init()
1426 setUniform(gl, programID, "s[1].b[0].a", 2.0f); in init()
1427 setUniform(gl, programID, "s[1].b[0].b", &arr[0], DE_LENGTH_OF_ARRAY(arr)); in init()
1430 setUniform(gl, programID, "s[1].b[1].a", 3.0f); in init()
1431 setUniform(gl, programID, "s[1].b[1].b", &arr[0], DE_LENGTH_OF_ARRAY(arr)); in init()
1434 setUniform(gl, programID, "s[1].b[2].a", 4.0f); in init()
1435 setUniform(gl, programID, "s[1].b[2].b", &arr[0], DE_LENGTH_OF_ARRAY(arr)); in init()
1436 setUniform(gl, programID, "s[1].c", 1); in init()
1472 setUniform(gl, programID, "s[0].a", constCoords.x()); in init()
1475 setUniform(gl, programID, "s[0].b[0].a", 0.5f); in init()
1476 setUniform(gl, programID, "s[0].b[0].b", &arr[0], DE_LENGTH_OF_ARRAY(arr)); in init()
1479 setUniform(gl, programID, "s[0].b[1].a", 1.0f/3.0f); in init()
1480 setUniform(gl, programID, "s[0].b[1].b", &arr[0], DE_LENGTH_OF_ARRAY(arr)); in init()
1483 setUniform(gl, programID, "s[0].b[2].a", 1.0f/4.0f); in init()
1484 setUniform(gl, programID, "s[0].b[2].b", &arr[0], DE_LENGTH_OF_ARRAY(arr)); in init()
1485 setUniform(gl, programID, "s[0].c", 0); in init()
1487 setUniform(gl, programID, "s[1].a", constCoords.w()); in init()
1490 setUniform(gl, programID, "s[1].b[0].a", 2.0f); in init()
1491 setUniform(gl, programID, "s[1].b[0].b", &arr[0], DE_LENGTH_OF_ARRAY(arr)); in init()
1494 setUniform(gl, programID, "s[1].b[1].a", 3.0f); in init()
1495 setUniform(gl, programID, "s[1].b[1].b", &arr[0], DE_LENGTH_OF_ARRAY(arr)); in init()
1498 setUniform(gl, programID, "s[1].b[2].a", 4.0f); in init()
1499 setUniform(gl, programID, "s[1].b[2].b", &arr[0], DE_LENGTH_OF_ARRAY(arr)); in init()
1500 setUniform(gl, programID, "s[1].c", 1); in init()
1532 setUniform(gl, programID, "s[0].a", constCoords.x()); in init()
1533 setUniform(gl, programID, "s[0].b", 0); in init()
1534 setUniform(gl, programID, "s[1].a", constCoords.y()); in init()
1535 setUniform(gl, programID, "s[1].b", -1); in init()
1536 setUniform(gl, programID, "s[2].a", constCoords.z()); in init()
1537 setUniform(gl, programID, "s[2].b", 2); in init()
1590 setUniform(gl, programID, "s[0].a", constCoords.x()); in init()
1593 setUniform(gl, programID, "s[0].b[0].a", 0.5f); in init()
1594 setUniform(gl, programID, "s[0].b[0].b", &arr[0], DE_LENGTH_OF_ARRAY(arr)); in init()
1597 setUniform(gl, programID, "s[0].b[1].a", 1.0f/3.0f); in init()
1598 setUniform(gl, programID, "s[0].b[1].b", &arr[0], DE_LENGTH_OF_ARRAY(arr)); in init()
1601 setUniform(gl, programID, "s[0].b[2].a", 1.0f/4.0f); in init()
1602 setUniform(gl, programID, "s[0].b[2].b", &arr[0], DE_LENGTH_OF_ARRAY(arr)); in init()
1603 setUniform(gl, programID, "s[0].c", 0); in init()
1605 setUniform(gl, programID, "s[1].a", constCoords.w()); in init()
1608 setUniform(gl, programID, "s[1].b[0].a", 2.0f); in init()
1609 setUniform(gl, programID, "s[1].b[0].b", &arr[0], DE_LENGTH_OF_ARRAY(arr)); in init()
1612 setUniform(gl, programID, "s[1].b[1].a", 3.0f); in init()
1613 setUniform(gl, programID, "s[1].b[1].b", &arr[0], DE_LENGTH_OF_ARRAY(arr)); in init()
1616 setUniform(gl, programID, "s[1].b[2].a", 4.0f); in init()
1617 setUniform(gl, programID, "s[1].b[2].b", &arr[0], DE_LENGTH_OF_ARRAY(arr)); in init()
1618 setUniform(gl, programID, "s[1].c", 1); in init()
1651 setUniform(gl, programID, "s[0].a", constCoords.x()); in init()
1652 setUniform(gl, programID, "s[0].b", 0); in init()
1653 setUniform(gl, programID, "s[1].a", constCoords.y()); in init()
1654 setUniform(gl, programID, "s[1].b", -1); in init()
1655 setUniform(gl, programID, "s[2].a", constCoords.z()); in init()
1656 setUniform(gl, programID, "s[2].b", 2); in init()
1710 setUniform(gl, programID, "s[0].a", constCoords.x()); in init()
1713 setUniform(gl, programID, "s[0].b[0].a", 0.5f); in init()
1714 setUniform(gl, programID, "s[0].b[0].b", &arr[0], DE_LENGTH_OF_ARRAY(arr)); in init()
1717 setUniform(gl, programID, "s[0].b[1].a", 1.0f/3.0f); in init()
1718 setUniform(gl, programID, "s[0].b[1].b", &arr[0], DE_LENGTH_OF_ARRAY(arr)); in init()
1721 setUniform(gl, programID, "s[0].b[2].a", 1.0f/4.0f); in init()
1722 setUniform(gl, programID, "s[0].b[2].b", &arr[0], DE_LENGTH_OF_ARRAY(arr)); in init()
1723 setUniform(gl, programID, "s[0].c", 0); in init()
1725 setUniform(gl, programID, "s[1].a", constCoords.w()); in init()
1728 setUniform(gl, programID, "s[1].b[0].a", 2.0f); in init()
1729 setUniform(gl, programID, "s[1].b[0].b", &arr[0], DE_LENGTH_OF_ARRAY(arr)); in init()
1732 setUniform(gl, programID, "s[1].b[1].a", 3.0f); in init()
1733 setUniform(gl, programID, "s[1].b[1].b", &arr[0], DE_LENGTH_OF_ARRAY(arr)); in init()
1736 setUniform(gl, programID, "s[1].b[2].a", 4.0f); in init()
1737 setUniform(gl, programID, "s[1].b[2].b", &arr[0], DE_LENGTH_OF_ARRAY(arr)); in init()
1738 setUniform(gl, programID, "s[1].c", 1); in init()
1763 setUniform(gl, programID, "s.a", 1.0f); in init()
1764 setUniform(gl, programID, "s.b", tcu::Vec3(0.25f, 0.25f, 0.5f)); in init()
1765 setUniform(gl, programID, "s.c", 0); in init()
1795 setUniform(gl, programID, "s.a", 0.5f); in init()
1796 setUniform(gl, programID, "s.b.a", 0); in init()
1797 setUniform(gl, programID, "s.b.b", tcu::Vec2(0.25f, 0.25f)); in init()
1798 setUniform(gl, programID, "s.c", 1); in init()
1823 setUniform(gl, programID, "s[0].a", 1.0f); in init()
1824 setUniform(gl, programID, "s[0].b", tcu::Vec3(0.25f, 0.25f, 0.25f)); in init()
1825 setUniform(gl, programID, "s[0].c", 1); in init()
1826 setUniform(gl, programID, "s[1].a", 0.0f); in init()
1827 setUniform(gl, programID, "s[1].b", tcu::Vec3(0.5f, 0.5f, 0.5f)); in init()
1828 setUniform(gl, programID, "s[1].c", 0); in init()
1860 setUniform(gl, programID, "a.a", 1.0f); in init()
1861 setUniform(gl, programID, "a.b", tcu::Vec3(0.0f, 1.0f, 2.0f)); in init()
1862 setUniform(gl, programID, "a.c", 2); in init()
1863 setUniform(gl, programID, "b.a", 1.0f); in init()
1864 setUniform(gl, programID, "b.b", tcu::Vec3(0.0f, 1.0f, 2.0f)); in init()
1865 setUniform(gl, programID, "b.c", 2); in init()
1866 setUniform(gl, programID, "c.a", 1.0f); in init()
1867 setUniform(gl, programID, "c.b", tcu::Vec3(0.0f, 1.1f, 2.0f)); in init()
1868 setUniform(gl, programID, "c.c", 2); in init()
1902 setUniform(gl, programID, "a.a", 1.0f); in init()
1903 setUniform(gl, programID, "a.b", tcu::Vec3(0.0f, 1.0f, 2.0f)); in init()
1904 setUniform(gl, programID, "a.c", 2); in init()
1905 setUniform(gl, programID, "b.a", 1.0f); in init()
1906 setUniform(gl, programID, "b.b", tcu::Vec3(0.0f, 1.0f, 2.0f)); in init()
1907 setUniform(gl, programID, "b.c", 2); in init()
1908 setUniform(gl, programID, "c.a", 1.0f); in init()
1909 setUniform(gl, programID, "c.b", tcu::Vec3(0.0f, 1.1f, 2.0f)); in init()
1910 setUniform(gl, programID, "c.c", 2); in init()