Home | History | Annotate | Download | only in glshared

Lines Matching refs:layout

162 	src << "layout(points) in;\n"
163 << "layout(points, max_vertices = 1) out;\n";
293 glu::VariableDeclaration decl (output.varType, outVarName, glu::STORAGE_OUT, glu::INTERPOLATION_LAST, glu::Layout(location));
326 decl.layout.location = location + vecNdx;
882 static void computeVarLayout (const std::vector<Symbol>& symbols, std::vector<VarLayout>* layout);
883 static deUint32 getLayoutStride (const vector<VarLayout>& layout);
885 static void copyToBuffer (const glu::VarType& varType, const VarLayout& layout, int numValues, const void* srcBasePtr, void* dstBasePtr);
886 static void copyFromBuffer (const glu::VarType& varType, const VarLayout& layout, int numValues, const void* srcBasePtr, void* dstBasePtr);
936 void BufferIoExecutor::computeVarLayout (const std::vector<Symbol>& symbols, std::vector<VarLayout>* layout)
941 DE_ASSERT(layout->empty());
942 layout->resize(symbols.size());
948 VarLayout& layoutEntry = (*layout)[varNdx];
984 for (vector<VarLayout>::iterator varIter = layout->begin(); varIter != layout->end(); ++varIter)
989 inline deUint32 BufferIoExecutor::getLayoutStride (const vector<VarLayout>& layout)
991 return layout.empty() ? 0 : layout[0].stride;
994 void BufferIoExecutor::copyToBuffer (const glu::VarType& varType, const VarLayout& layout, int numValues, const void* srcBasePtr, void* dstBasePtr)
1009 const int dstOffset = layout.offset + layout.stride*elemNdx + (isMatrix ? layout.matrixStride*vecNdx : 0);
1021 void BufferIoExecutor::copyFromBuffer (const glu::VarType& varType, const VarLayout& layout, int numValues, const void* srcBasePtr, void* dstBasePtr)
1035 const int srcOffset = layout.offset + layout.stride*elemNdx + (isMatrix ? layout.matrixStride*vecNdx : 0);
1069 const VarLayout& layout = m_inputLayout[inputNdx];
1071 copyToBuffer(varType, layout, numValues, inputPtrs[inputNdx], mapPtr);
1104 const VarLayout& layout = m_outputLayout[outputNdx];
1106 copyFromBuffer(varType, layout, numValues, mapPtr, outputPtrs[outputNdx]);
1142 src << "layout(binding = " << int(INPUT_BUFFER_BINDING) << ", std430) buffer InBuffer\n"
1148 src << "layout(binding = " << int(OUTPUT_BUFFER_BINDING) << ", std430) buffer OutBuffer\n"
1203 src << "layout(local_size_x = 1) in;\n"
1349 src << "layout(triangles, ccw) in;\n";
1417 src << "layout(vertices = 1) out;\n\n";
1446 src << "layout(isolines, equal_spacing) in;\n\n";