Lines Matching refs:declNdx
278 std::string getUniformName (const std::string& name, int declNdx) in getUniformName() argument
280 return name + de::toString(declNdx); in getUniformName()
283 std::string getUniformName (const std::string& name, int declNdx, int arrNdx) in getUniformName() argument
285 return name + de::toString(declNdx) + "[" + de::toString(arrNdx) + "]"; in getUniformName()
1131 for (int declNdx = 0; declNdx < numDeclarations; ++declNdx) in generateShaders() local
1133 …shaderUniformDecl << "layout(binding = " << m_bindings[declNdx] << ") uniform highp " << samplerTy… in generateShaders()
1134 …rrayInstance ? getUniformName(m_uniformName, declNdx, m_numBindings) : getUniformName(m_uniformNam… in generateShaders()
1268 for (int declNdx = 0; declNdx < numDeclarations; ++declNdx) in generateShaders() local
1270 …vertexUniformDecl << "layout(binding = " << m_vertexShaderBinding[declNdx] << ") uniform highp " <… in generateShaders()
1271 …rrayInstance ? getUniformName(m_uniformName, declNdx, m_numBindings) : getUniformName(m_uniformNam… in generateShaders()
1272 …fragmentUniformDecl << "layout(binding = " << m_fragmentShaderBinding[declNdx] << ") uniform highp… in generateShaders()
1273 …rrayInstance ? getUniformName(m_uniformName, declNdx, m_numBindings) : getUniformName(m_uniformNam… in generateShaders()
1274 …tessCtrlUniformDecl << "layout(binding = " << m_tessCtrlShaderBinding[declNdx] << ") uniform highp… in generateShaders()
1275 …rrayInstance ? getUniformName(m_uniformName, declNdx, m_numBindings) : getUniformName(m_uniformNam… in generateShaders()
1276 …tessEvalUniformDecl << "layout(binding = " << m_tessEvalShaderBinding[declNdx] << ") uniform highp… in generateShaders()
1277 …rrayInstance ? getUniformName(m_uniformName, declNdx, m_numBindings) : getUniformName(m_uniformNam… in generateShaders()
1488 for (int declNdx = 0; declNdx < numDeclarations; ++declNdx) in generateShaders() local
1490 …shaderUniformDecl << "layout(rgba8, binding = " << m_bindings[declNdx] << ") uniform readonly high… in generateShaders()
1491 …rrayInstance ? getUniformName(m_uniformName, declNdx, m_numBindings) : getUniformName(m_uniformNam… in generateShaders()
1592 for (int declNdx = 0; declNdx < numDeclarations; ++declNdx) in generateShaders() local
1594 …vertexUniformDecl << "layout(rgba8, binding = " << m_vertexShaderBinding[declNdx] << ") uniform re… in generateShaders()
1595 …rrayInstance ? getUniformName(m_uniformName, declNdx, m_numBindings) : getUniformName(m_uniformNam… in generateShaders()
1596 …fragmentUniformDecl << "layout(rgba8, binding = " << m_fragmentShaderBinding[declNdx] << ") unifor… in generateShaders()
1597 …rrayInstance ? getUniformName(m_uniformName, declNdx, m_numBindings) : getUniformName(m_uniformNam… in generateShaders()
1598 …tessCtrlUniformDecl << "layout(rgba8, binding = " << m_tessCtrlShaderBinding[declNdx] << ") unifor… in generateShaders()
1599 …rrayInstance ? getUniformName(m_uniformName, declNdx, m_numBindings) : getUniformName(m_uniformNam… in generateShaders()
1600 …tessEvalUniformDecl << "layout(rgba8, binding = " << m_tessEvalShaderBinding[declNdx] << ") unifor… in generateShaders()
1601 …rrayInstance ? getUniformName(m_uniformName, declNdx, m_numBindings) : getUniformName(m_uniformNam… in generateShaders()
1773 for (int declNdx = 0; declNdx < numDeclarations; ++declNdx) in generateShaders() local
1775 shaderUniformDecl << "layout(std140, binding = " << m_bindings[declNdx] << ") uniform " in generateShaders()
1776 << getUniformName(m_uniformName, declNdx) << "\n" in generateShaders()
1780 …" << (arrayInstance ? getUniformName("colors", declNdx, m_numBindings) : getUniformName("colors", … in generateShaders()
1857 for (int declNdx = 0; declNdx < numDeclarations; ++declNdx) in generateShaders() local
1859 vertexUniformDecl << "layout(std140, binding = " << m_vertexShaderBinding[declNdx] << ") uniform " in generateShaders()
1860 << getUniformName(m_uniformName, declNdx) << "\n" in generateShaders()
1864 …" << (arrayInstance ? getUniformName("colors", declNdx, m_numBindings) : getUniformName("colors", … in generateShaders()
1866 …fragmentUniformDecl << "layout(std140, binding = " << m_fragmentShaderBinding[declNdx] << ") unifo… in generateShaders()
1867 << getUniformName(m_uniformName, declNdx) << "\n" in generateShaders()
1871 …" << (arrayInstance ? getUniformName("colors", declNdx, m_numBindings) : getUniformName("colors", … in generateShaders()
1873 …tessCtrlUniformDecl << "layout(std140, binding = " << m_tessCtrlShaderBinding[declNdx] << ") unifo… in generateShaders()
1874 << getUniformName(m_uniformName, declNdx) << "\n" in generateShaders()
1878 …" << (arrayInstance ? getUniformName("colors", declNdx, m_numBindings) : getUniformName("colors", … in generateShaders()
1880 …tessEvalUniformDecl << "layout(std140, binding = " << m_tessCtrlShaderBinding[declNdx] << ") unifo… in generateShaders()
1881 << getUniformName(m_uniformName, declNdx) << "\n" in generateShaders()
1885 …" << (arrayInstance ? getUniformName("colors", declNdx, m_numBindings) : getUniformName("colors", … in generateShaders()
2042 for (int declNdx = 0; declNdx < numDeclarations; ++declNdx) in generateShaders() local
2044 shaderUniformDecl << "layout(std140, binding = " << m_bindings[declNdx] << ") buffer " in generateShaders()
2045 << getUniformName(m_uniformName, declNdx) << "\n" in generateShaders()
2049 …" << (arrayInstance ? getUniformName("colors", declNdx, m_numBindings) : getUniformName("colors", … in generateShaders()
2126 for (int declNdx = 0; declNdx < numDeclarations; ++declNdx) in generateShaders() local
2128 vertexUniformDecl << "layout(std140, binding = " << m_vertexShaderBinding[declNdx] << ") buffer " in generateShaders()
2129 << getUniformName(m_uniformName, declNdx) << "\n" in generateShaders()
2133 …" << (arrayInstance ? getUniformName("colors", declNdx, m_numBindings) : getUniformName("colors", … in generateShaders()
2135 …fragmentUniformDecl << "layout(std140, binding = " << m_fragmentShaderBinding[declNdx] << ") buffe… in generateShaders()
2136 << getUniformName(m_uniformName, declNdx) << "\n" in generateShaders()
2140 …" << (arrayInstance ? getUniformName("colors", declNdx, m_numBindings) : getUniformName("colors", … in generateShaders()
2142 …tessCtrlUniformDecl << "layout(std140, binding = " << m_tessCtrlShaderBinding[declNdx] << ") buffe… in generateShaders()
2143 << getUniformName(m_uniformName, declNdx) << "\n" in generateShaders()
2147 …" << (arrayInstance ? getUniformName("colors", declNdx, m_numBindings) : getUniformName("colors", … in generateShaders()
2149 …tessEvalUniformDecl << "layout(std140, binding = " << m_tessEvalShaderBinding[declNdx] << ") buffe… in generateShaders()
2150 << getUniformName(m_uniformName, declNdx) << "\n" in generateShaders()
2154 …" << (arrayInstance ? getUniformName("colors", declNdx, m_numBindings) : getUniformName("colors", … in generateShaders()