Lines Matching defs:layout
107 out << "layout(";
166 res << "layout(location = 0) in highp vec4 dEQP_Position;\n";
177 res << "layout(location = " << curInputLoc << ") in " << transportTypeStr << " a_" << val.name << ";\n";
178 res << "layout(location = " << curOutputLoc << ") flat out " << transportTypeStr << " " << (transportType != valueType ? "v_" : "") << val.name << ";\n";
250 shader << "layout(location = 0) out mediump vec4 dEQP_FragColor;\n";
266 shader << "layout(location = " << curInLoc << ") flat in " << transportTypeStr << " " << (valueType != transportType ? "v_" : "") << val.name << ";\n";
305 decl << "layout(location = 0) in highp vec4 dEQP_Position;\n";
317 decl << "layout(location = " << curInputLoc << ") in ";
341 decl << "layout(location = " << curOutputLoc << ") flat out ";
384 decl << "layout(location = 0) out mediump vec4 dEQP_FragColor;\n";
395 decl << "layout(location = " << curInputLoc << ") flat in ";
441 decl << "layout(location = 0) in highp vec4 dEQP_Position;\n";
453 decl << "layout(location = " << curInputLoc << ") in ";
484 decl << "layout(location = 0) out mediump vec4 dEQP_FragColor;\n";
509 decl << "layout (triangles) in;\n";
510 decl << "layout (triangle_strip, max_vertices=3) out;\n";
526 decl << "layout (vertices=3) out;\n";
552 decl << "layout (triangles) in;\n";
619 ValueBufferLayout layout;
621 layout.entries.resize(values.size());
632 layout.size = deAlign32(layout.size, alignment);
633 layout.entries[ndx] = ValueBufferLayout::Entry(layout.size, alignment);
634 layout.size += alignment*(numVecs-1) + vecSize*int(sizeof(deUint32));
637 return layout;
642 ValueBufferLayout layout;
644 layout.entries.resize(values.size());
654 layout.size = deAlign32(layout.size, alignment);
655 layout.entries[ndx] = ValueBufferLayout::Entry(layout.size, alignment);
656 layout.size += alignment*(numVecs-1) + vecSize*int(sizeof(deUint32));
659 return layout;
694 void copyToLayout (void* dst, const ValueBufferLayout& layout, const vector<Value>& values, int arrayNdx)
696 DE_ASSERT(layout.entries.size() == values.size());
699 copyToLayout(dst, layout.entries[ndx], values[ndx], arrayNdx);
844 vk::VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL, // layout
852 vk::VK_IMAGE_LAYOUT_GENERAL, // layout
982 vector<vk::VkVertexInputAttributeDescription> getVertexAttributeDescriptions (const vector<Value>& inputValues, const ValueBufferLayout& layout)
1003 const ValueBufferLayout::Entry& layoutEntry = layout.entries[inputNdx];
1213 void writeValuesToMem (Context& context, const vk::Allocation& dst, const ValueBufferLayout& layout, const vector<Value>& values, int arrayNdx)
1215 copyToLayout(dst.getHostPtr(), layout, values, arrayNdx);