Lines Matching defs:constCoords

54 typedef void (*SetupUniformsFunc) (const glw::Functions& gl, deUint32 programID, const tcu::Vec4& constCoords);
65 virtual void setupUniforms (int programID, const tcu::Vec4& constCoords);
111 void ShaderStructCase::setupUniforms (int programID, const tcu::Vec4& constCoords)
113 ShaderRenderCase::setupUniforms(programID, constCoords);
115 m_setupUniforms(m_renderCtx.getFunctions(), programID, constCoords);
1228 static void setUniforms (const glw::Functions& gl, deUint32 programID, const tcu::Vec4& constCoords) SET_UNIFORMS_BODY /* NOLINT(SET_UNIFORMS_BODY) */ \
1253 setUniform(gl, programID, "s.a", constCoords.x());
1254 setUniform(gl, programID, "s.b", constCoords.swizzle(1, 2, 3));
1258 c.color.xyz() = c.constCoords.swizzle(0,1,2);
1284 setUniform(gl, programID, "s.a", constCoords.x());
1286 setUniform(gl, programID, "s.b.b", constCoords.swizzle(1,2));
1290 c.color.xyz() = c.constCoords.swizzle(0,1,2);
1311 setUniform(gl, programID, "s.a", constCoords.w());
1315 b[0] = constCoords.z();
1316 b[1] = constCoords.y();
1317 b[2] = constCoords.x();
1321 c.color.xyz() = c.constCoords.swizzle(3,2,1);
1344 setUniform(gl, programID, "s.a", constCoords.w());
1348 b[0] = constCoords.z();
1349 b[1] = constCoords.y();
1350 b[2] = constCoords.x();
1354 c.color.xyz() = c.constCoords.swizzle(1,2,0);
1376 setUniform(gl, programID, "s[0].a", constCoords.x());
1378 setUniform(gl, programID, "s[1].a", constCoords.y());
1380 setUniform(gl, programID, "s[2].a", constCoords.z());
1384 c.color.xyz() = c.constCoords.swizzle(2,1,0);
1406 setUniform(gl, programID, "s[0].a", constCoords.x());
1408 setUniform(gl, programID, "s[1].a", constCoords.y());
1410 setUniform(gl, programID, "s[2].a", constCoords.z());
1414 c.color.xyz() = c.constCoords.swizzle(2,1,0);
1443 setUniform(gl, programID, "s[0].a", constCoords.x());
1444 arr[0] = constCoords.swizzle(0,1);
1445 arr[1] = constCoords.swizzle(2,3);
1448 arr[0] = constCoords.swizzle(2,3);
1449 arr[1] = constCoords.swizzle(0,1);
1452 arr[0] = constCoords.swizzle(0,2);
1453 arr[1] = constCoords.swizzle(1,3);
1458 setUniform(gl, programID, "s[1].a", constCoords.w());
1459 arr[0] = constCoords.swizzle(0,0);
1460 arr[1] = constCoords.swizzle(1,1);
1463 arr[0] = constCoords.swizzle(2,2);
1464 arr[1] = constCoords.swizzle(3,3);
1467 arr[0] = constCoords.swizzle(1,0);
1468 arr[1] = constCoords.swizzle(3,2);
1474 c.color.xyz() = c.constCoords.swizzle(2,0,3);
1507 setUniform(gl, programID, "s[0].a", constCoords.x());
1508 arr[0] = constCoords.swizzle(0,1);
1509 arr[1] = constCoords.swizzle(2,3);
1512 arr[0] = constCoords.swizzle(2,3);
1513 arr[1] = constCoords.swizzle(0,1);
1516 arr[0] = constCoords.swizzle(0,2);
1517 arr[1] = constCoords.swizzle(1,3);
1522 setUniform(gl, programID, "s[1].a", constCoords.w());
1523 arr[0] = constCoords.swizzle(0,0);
1524 arr[1] = constCoords.swizzle(1,1);
1527 arr[0] = constCoords.swizzle(2,2);
1528 arr[1] = constCoords.swizzle(3,3);
1531 arr[0] = constCoords.swizzle(1,0);
1532 arr[1] = constCoords.swizzle(3,2);
1538 c.color.xyz() = c.constCoords.swizzle(2,0,3);
1567 setUniform(gl, programID, "s[0].a", constCoords.x());
1569 setUniform(gl, programID, "s[1].a", constCoords.y());
1571 setUniform(gl, programID, "s[2].a", constCoords.z());
1575 c.color.xyz() = c.constCoords.swizzle(2,1,0);
1625 setUniform(gl, programID, "s[0].a", constCoords.x());
1626 arr[0] = constCoords.swizzle(1,0);
1627 arr[1] = constCoords.swizzle(2,0);
1630 arr[0] = constCoords.swizzle(1,1);
1631 arr[1] = constCoords.swizzle(3,1);
1634 arr[0] = constCoords.swizzle(2,1);
1635 arr[1] = constCoords.swizzle(2,1);
1640 setUniform(gl, programID, "s[1].a", constCoords.w());
1641 arr[0] = constCoords.swizzle(2,0);
1642 arr[1] = constCoords.swizzle(2,1);
1645 arr[0] = constCoords.swizzle(2,2);
1646 arr[1] = constCoords.swizzle(3,3);
1649 arr[0] = constCoords.swizzle(1,0);
1650 arr[1] = constCoords.swizzle(3,2);
1656 c.color.xyz() = (c.constCoords.swizzle(0,1,2) + c.constCoords.swizzle(1,2,3)) * 0.5f;
1686 setUniform(gl, programID, "s[0].a", constCoords.x());
1688 setUniform(gl, programID, "s[1].a", constCoords.y());
1690 setUniform(gl, programID, "s[2].a", constCoords.z());
1694 c.color.xyz() = c.constCoords.swizzle(2,1,0);
1745 setUniform(gl, programID, "s[0].a", constCoords.x());
1746 arr[0] = constCoords.swizzle(1,0);
1747 arr[1] = constCoords.swizzle(2,0);
1750 arr[0] = constCoords.swizzle(1,1);
1751 arr[1] = constCoords.swizzle(3,1);
1754 arr[0] = constCoords.swizzle(2,1);
1755 arr[1] = constCoords.swizzle(2,1);
1760 setUniform(gl, programID, "s[1].a", constCoords.w());
1761 arr[0] = constCoords.swizzle(2,0);
1762 arr[1] = constCoords.swizzle(2,1);
1765 arr[0] = constCoords.swizzle(2,2);
1766 arr[1] = constCoords.swizzle(3,3);
1769 arr[0] = constCoords.swizzle(1,0);
1770 arr[1] = constCoords.swizzle(3,2);
1776 c.color.xyz() = (c.constCoords.swizzle(0,1,2) + c.constCoords.swizzle(1,2,3)) * 0.5f;
1797 DE_UNREF(constCoords);
1829 DE_UNREF(constCoords);
1857 DE_UNREF(constCoords);
1894 DE_UNREF(constCoords);
1936 DE_UNREF(constCoords);