Home | History | Annotate | Download | only in functional

Lines Matching defs:interface

21  * \brief Program interface utilities
448 // is variable an interface block variable?
459 // resource is a member of a named interface block
460 // \note there is no array index specifier even if the interface is declared as an array of instances
944 std::vector<std::string> getProgramInterfaceResourceList (const ProgramInterfaceDefinition::Program* program, ProgramInterface interface)
947 const bool removeDuplicated = (interface == PROGRAMINTERFACE_UNIFORM) ||
948 (interface == PROGRAMINTERFACE_UNIFORM_BLOCK) ||
949 (interface == PROGRAMINTERFACE_BUFFER_VARIABLE) ||
950 (interface == PROGRAMINTERFACE_SHADER_STORAGE_BLOCK);
953 switch (interface)
958 const glu::Storage storage = (interface == PROGRAMINTERFACE_UNIFORM) ? (glu::STORAGE_UNIFORM) : (glu::STORAGE_BUFFER);
987 const glu::Storage storage = (interface == PROGRAMINTERFACE_UNIFORM_BLOCK) ? (glu::STORAGE_UNIFORM) : (glu::STORAGE_BUFFER);
1025 const glu::Storage storage = (interface == PROGRAMINTERFACE_PROGRAM_INPUT) ? (glu::STORAGE_IN) : (glu::STORAGE_OUT);
1026 const glu::ShaderType shaderType = (interface == PROGRAMINTERFACE_PROGRAM_INPUT) ? (program->getFirstStage()) : (program->getLastStage());
1054 if (interface == PROGRAMINTERFACE_PROGRAM_INPUT)
1075 else if (interface == PROGRAMINTERFACE_PROGRAM_OUTPUT)
1171 // Interface blocks
1196 const glu::InterfaceBlock& interface = shader->getDefaultBlock().interfaceBlocks[interfaceNdx];
1197 if (interface.storage == glu::STORAGE_UNIFORM ||
1198 (interface.storage == glu::STORAGE_BUFFER && (interface.memoryAccessQualifierFlags & glu::MEMORYACCESSQUALIFIER_WRITEONLY_BIT) == 0))
1200 writeInterfaceReadAccumulateExpression(usageBuf, "retValue", interface);
1242 const glu::InterfaceBlock& interface = shader->getDefaultBlock().interfaceBlocks[interfaceNdx];
1243 if (interface.storage == glu::STORAGE_BUFFER && (interface.memoryAccessQualifierFlags & glu::MEMORYACCESSQUALIFIER_READONLY_BIT) == 0)
1245 writeInterfaceWriteExpression(usageBuf, "dummyValue", interface);
1278 // Interface for dummy output