Lines Matching defs:layout
3508 /** Get size used for each member of a uniform array of a given type in a std140 column-major layout
3519 /** Size for a layout(std140, column_major) uniform_type uniform[] **/
3725 static const glw::GLchar* geometry_shader_layout_code = "layout(points) in;\n"
3726 "layout(points, max_vertices = 1) out;\n"
3729 static const glw::GLchar* tess_ctrl_shader_layout_code = "layout(vertices = 1) out;\n"
3732 static const glw::GLchar* tess_eval_shader_layout_code = "layout(isolines, point_mode) in;\n"
3787 static const glw::GLchar* test_fragment_shader_out_variable = "layout(location = 0) out int result;\n";
3832 prepareTestShader("" /* layout */, uniform_definitions.c_str() /* uniforms */, "" /* in var */,
3847 prepareTestShader("" /* layout */, uniform_definitions.c_str() /* uniforms */, "" /* in var */,
3859 prepareBoilerplateShader("" /* layout */, boilerplate_fragment_shader_body_code /* body */,
3879 prepareTestShader(geometry_shader_layout_code /* layout */, uniform_definitions.c_str() /* uniforms */,
3888 prepareTestShader(tess_ctrl_shader_layout_code /* layout */, uniform_definitions.c_str() /* uniforms */,
3893 prepareTestShader(tess_eval_shader_layout_code /* layout */, "" /* uniforms */,
3902 prepareBoilerplateShader(tess_ctrl_shader_layout_code /* layout */,
3905 prepareTestShader(tess_eval_shader_layout_code /* layout */, uniform_definitions.c_str() /* uniforms */,
4059 "layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;\n"
4062 "layout(r32i) writeonly uniform iimage2D result;\n"
4101 * layout(std140) uniform M_UNIFORM_BLOCK_NAME
4106 stream << "layout(std140) uniform " << m_uniform_block_name << "\n"
4708 /* Test "packed" uniform buffer layout */
4714 /* Test "shared" uniform buffer layout */
4720 /* Test "std140" uniform buffer layout */
4860 /** Build program and query for uniform layout
5045 /** Returns a reference of programInfo instance specific for given buffer layout
5047 * @param uniform_data_layout Buffer layout
5079 /** Get "name" of buffer layout
5081 * @param uniform_data_layout Buffer layout
5083 * @return "Name" of layout
5087 const glw::GLchar* layout = "";
5092 layout = "packed";
5095 layout = "shared";
5098 layout = "std140";
5102 return layout;
5105 /** Prepare programInfo instance for specific buffer layout
5108 * @param uniform_data_layout Buffer layout
5262 /* Offsets verification failure was already reported, add info about buffer layout */
5264 << "Uniform buffer layout: " << getUniformLayoutName(uniform_data_layout)
5289 /* Result verificatioon failure was already reported, add info about layout */
5291 << "Uniform buffer layout: " << getUniformLayoutName(uniform_data_layout)
5665 stream << "layout(points) in;\n"
5666 "layout(points, max_vertices = 1) out;\n"
5670 stream << "layout(vertices = 1) out;\n"
5674 stream << "layout(isolines, point_mode) in;\n"
5682 /** Write name uniform blcok definition with specific layout to stream
5685 * @param uniform_data_layout Buffer layout
5689 const glw::GLchar* layout = getUniformLayoutName(uniform_data_layout);
5691 stream << "layout(" << layout << ") uniform " << m_uniform_block_name << "\n"
5744 stream << "layout (location = 0) out " << varying_type << " " << m_varying_name_fs_out_fs_result << ";\n";
6089 "layout(local_size_x = 2, local_size_y = 2, local_size_z = 2) in;\n"
6091 "layout(rgba32f) uniform image2D testImage;\n"
6197 "layout(vertices = 4) out;\n"
6249 "layout(triangles) in;\n"
6295 "layout (points) in;\n"
6296 "layout (points, max_vertices = 1) out;\n"
8349 "layout(local_size_x = 6) in;\n"
8457 "layout(points) in;\n"
8458 "layout(max_vertices=1, points) out;\n"
8514 "layout(vertices=4) out;\n"
8574 "layout(isolines) in;\n"
9585 "layout(triangles) in;\n"
9586 "layout(triangle_strip, max_vertices=4) out;\n"
9677 "layout (vertices=4) out;\n"
9759 "layout(quads) in;\n"
9827 * of the variable ( eg. (layout location=X) )
10135 << "A fragment shader with double-precision input variables lacking flat layout qualifier"
10710 "layout(local_size_x = 1) in;\n"
10805 "layout(points) in;\n"
10806 "layout(max_vertices=1, points) out;\n"
10831 "layout(vertices=4) out;\n"
10856 "layout(isolines) in;\n"