Lines Matching refs:usageBuf
1532 std::ostringstream usageBuf; in generateProgramInterfaceProgramSources() local
1558 …usageBuf << "highp uniform vec4 " << getDummyZeroUniformName() << "; // Default value is vec4(0.0)… in generateProgramInterfaceProgramSources()
1571 writeVariableReadAccumulateExpression(usageBuf, in generateProgramInterfaceProgramSources()
1587 writeInterfaceReadAccumulateExpression(usageBuf, in generateProgramInterfaceProgramSources()
1603 usageBuf << " retValue += vec4(float(gl_VertexID));\n"; in generateProgramInterfaceProgramSources()
1609 usageBuf << " retValue += gl_FragCoord;\n"; in generateProgramInterfaceProgramSources()
1613 usageBuf << " retValue += gl_in[0].gl_Position;\n"; in generateProgramInterfaceProgramSources()
1617 usageBuf << " retValue += gl_in[0].gl_Position;\n"; in generateProgramInterfaceProgramSources()
1621 usageBuf << " retValue += gl_in[0].gl_Position;\n"; in generateProgramInterfaceProgramSources()
1627 usageBuf << " retValue += vec4(float(gl_NumWorkGroups.x));\n"; in generateProgramInterfaceProgramSources()
1633 usageBuf << " return retValue;\n" in generateProgramInterfaceProgramSources()
1636 usageBuf << "void writeOutputs(in highp vec4 dummyValue)\n" in generateProgramInterfaceProgramSources()
1646 writeVariableWriteExpression(usageBuf, in generateProgramInterfaceProgramSources()
1662 writeInterfaceWriteExpression(usageBuf, "dummyValue", interface, shader->getType(), program); in generateProgramInterfaceProgramSources()
1670 usageBuf << " gl_Position = dummyValue;\n"; in generateProgramInterfaceProgramSources()
1672 usageBuf << " gl_Position = dummyValue;\n" in generateProgramInterfaceProgramSources()
1675 usageBuf << " gl_out[gl_InvocationID].gl_Position = dummyValue;\n" in generateProgramInterfaceProgramSources()
1683 usageBuf << " gl_Position = dummyValue;\n"; in generateProgramInterfaceProgramSources()
1690 usageBuf << " gl_FragDepth = dot(dummyValue.xy, dummyValue.xw);\n"; in generateProgramInterfaceProgramSources()
1692 usageBuf << " dummyOutputBlock.dummyValue = dummyValue;\n"; in generateProgramInterfaceProgramSources()
1695 usageBuf << "}\n\n" in generateProgramInterfaceProgramSources()
1711 sources << glu::ShaderSource(shader->getType(), sourceBuf.str() + usageBuf.str()); in generateProgramInterfaceProgramSources()