Home
last modified time | relevance | path

Searched refs:primitive_type (Results 1 – 25 of 33) sorted by relevance

12

/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_emit.h96 etna_draw_primitives(struct etna_cmd_stream *stream, uint32_t primitive_type, in etna_draw_primitives() argument
102 etna_cmd_stream_emit(stream, primitive_type); in etna_draw_primitives()
109 uint32_t primitive_type, uint32_t start, in etna_draw_indexed_primitives() argument
115 etna_cmd_stream_emit(stream, primitive_type); in etna_draw_indexed_primitives()
125 uint32_t indexed, uint32_t primitive_type, in etna_draw_instanced() argument
133 VIV_FE_DRAW_INSTANCED_HEADER_TYPE(primitive_type) | in etna_draw_instanced()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl3cClipDistance.cpp584 glw::GLenum primitive_type = m_primitive_types[i_primitive_type]; in iterate() local
588 glw::GLuint framebuffer_size = (primitive_type == GL_POINTS) ? 1 : 32; in iterate()
613 redeclaration, redeclaration, i_clip_count, i_clip_function, primitive_type); in iterate()
641 gl3cts::ClipDistance::Utility::VertexArrayObject vertex_array_object(gl, primitive_type); in iterate()
644 prepareGeometry(gl, primitive_type); in iterate()
665 if (!checkResults(primitive_type, i_clip_function, results)) in iterate()
669 << glu::getPrimitiveTypeStr(primitive_type) in iterate()
714 glw::GLenum primitive_type) in prepareVertexShaderCode() argument
757 switch (primitive_type) in prepareVertexShaderCode()
781 const glw::Functions& gl, const glw::GLenum primitive_type) in prepareGeometry() argument
[all …]
Dgl3cTransformFeedbackTests.hpp424 virtual bool checkTransformFeedbackBuffer(BindBufferCase bind_case, glw::GLenum primitive_type);
504 virtual bool checkTransformFeedbackBuffer(BindBufferCase bind_case, glw::GLenum primitive_type);
538 virtual void draw(glw::GLenum primitive_type) in draw() argument
540 CaptureGeometryInterleaved::draw(primitive_type); in draw()
558 virtual bool checkTransformFeedbackBuffer(BindBufferCase bind_case, glw::GLenum primitive_type) in checkTransformFeedbackBuffer() argument
560 return CaptureVertexSeparate::checkTransformFeedbackBuffer(bind_case, primitive_type); in checkTransformFeedbackBuffer()
705 virtual bool checkTransformFeedbackBuffer(BindBufferCase bind_case, glw::GLenum primitive_type);
737 virtual bool checkTransformFeedbackBuffer(BindBufferCase bind_case, glw::GLenum primitive_type);
771 virtual bool checkTransformFeedbackBuffer(BindBufferCase bind_case, glw::GLenum primitive_type);
806 virtual bool checkTransformFeedbackBuffer(BindBufferCase bind_case, glw::GLenum primitive_type);
Dgl3cClipDistance.hpp144 VertexArrayObject(const glw::Functions& gl, const glw::GLenum primitive_type); // create empty vao
263 glw::GLuint clip_function, glw::GLenum primitive_type);
266 const glw::GLenum primitive_type);
268 …bool checkResults(glw::GLenum primitive_type, glw::GLuint clip_function, std::vector<glw::GLfloat>…
Dgl4cPipelineStatisticsQueryTests.cpp617 …w::GLenum PipelineStatisticsQueryUtilities::getEnumForPrimitiveType(_primitive_type primitive_type) in getEnumForPrimitiveType() argument
621 switch (primitive_type) in getEnumForPrimitiveType()
811 …pelineStatisticsQueryUtilities::getNumberOfVerticesForPrimitiveType(_primitive_type primitive_type) in getNumberOfVerticesForPrimitiveType() argument
815 switch (primitive_type) in getNumberOfVerticesForPrimitiveType()
999 …:string PipelineStatisticsQueryUtilities::getStringForPrimitiveType(_primitive_type primitive_type) in getStringForPrimitiveType() argument
1003 switch (primitive_type) in getStringForPrimitiveType()
2266 glw::GLenum primitive_type = in queryCallbackDrawCallHandler() local
2273 gl.drawArrays(primitive_type, pInstance->m_indirect_draw_call_first_argument, in queryCallbackDrawCallHandler()
2283 gl.drawArraysIndirect(primitive_type, in queryCallbackDrawCallHandler()
2293 gl.drawArraysInstanced(primitive_type, pInstance->m_indirect_draw_call_first_argument, in queryCallbackDrawCallHandler()
[all …]
Dgl4cPipelineStatisticsQueryTests.hpp268 static glw::GLenum getEnumForPrimitiveType(_primitive_type primitive_type);
273 static unsigned int getNumberOfVerticesForPrimitiveType(_primitive_type primitive_type);
277 static std::string getStringForPrimitiveType(_primitive_type primitive_type);
Dgl3cTransformFeedbackTests.cpp2551 …s::TransformFeedback::CaptureVertexInterleaved::checkFramebuffer(glw::GLenum primitive_type UNUSED) in checkFramebuffer()
2579 glw::GLenum primitive_type) in checkTransformFeedbackBuffer() argument
2587 switch (primitive_type) in checkTransformFeedbackBuffer()
3220 glw::GLenum primitive_type) in checkTransformFeedbackBuffer() argument
3227 switch (primitive_type) in checkTransformFeedbackBuffer()
3803 glw::GLenum primitive_type) in checkTransformFeedbackBuffer() argument
3814 …glw::GLuint number_of_primitives_reference = (primitive_type == GL_POINTS) ? 3 : 1; /* m_max_verti… in checkTransformFeedbackBuffer()
3877 glw::GLenum primitive_type) in checkTransformFeedbackBuffer() argument
3888 …glw::GLuint number_of_primitives_reference = (primitive_type == GL_POINTS) ? 3 : 1; /* m_max_verti… in checkTransformFeedbackBuffer()
3950 glw::GLenum primitive_type) in checkTransformFeedbackBuffer() argument
[all …]
Dgl4cEnhancedLayoutsTests.cpp24843 GLenum primitive_type = GL_PATCHES; in test() local
24848 primitive_type = GL_POINTS; in test()
24857 gl.drawArrays(primitive_type, 0 /* first */, 2 /* count */); in test()
26052 GLenum primitive_type = GL_PATCHES; in test() local
26056 primitive_type = GL_POINTS; in test()
26065 gl.drawArrays(primitive_type, 0 /* first */, 1 /* count */); in test()
26420 GLenum primitive_type = GL_PATCHES; in test() local
26424 primitive_type = GL_POINTS; in test()
26433 gl.drawArrays(primitive_type, 0 /* first */, 1 /* count */); in test()
26857 GLenum primitive_type = GL_PATCHES; in test() local
[all …]
/third_party/mesa3d/src/compiler/
Dshader_info.h532 uint16_t primitive_type; /* GL_POINTS, GL_LINES or GL_TRIANGLES. */ member
/third_party/mesa3d/src/intel/compiler/
Dbrw_mesh.cpp357 num_mesh_vertices_per_primitive(nir->info.mesh.primitive_type); in brw_compute_mue_map()
707 prog_data->primitive_type = nir->info.mesh.primitive_type; in brw_compile_mesh()
Dbrw_compiler.h1478 uint16_t primitive_type; member
/third_party/vk-gl-cts/external/openglcts/modules/glesext/geometry_shader/
DesextcGeometryShaderAPI.hpp290 std::string getLayoutQualifierForPrimitiveType(glw::GLenum primitive_type);
DesextcGeometryShaderLimits.cpp1153 glw::GLenum primitive_type = GL_POINTS; in iterate() local
1156 getDrawCallDetails(primitive_type, n_vertices); in iterate()
1158 gl.drawArrays(primitive_type, 0 /* first */, n_vertices); in iterate()
DesextcGeometryShaderAPI.cpp876 …ing GeometryShaderGetProgramiv3Test::getLayoutQualifierForPrimitiveType(glw::GLenum primitive_type) in getLayoutQualifierForPrimitiveType() argument
880 switch (primitive_type) in getLayoutQualifierForPrimitiveType()
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_draw.c105 list.primitive_type = TRIANGLES_LIST; in vc4_start_draw()
/third_party/node/test/fixtures/wpt/resources/webidl2/lib/
Dwebidl2.js692 /* harmony export */ "primitive_type": () => (/* binding */ primitive_type),
791 function primitive_type(tokeniser) { function
1112 …ype(tokeniser, typeName) || (0,_helpers_js__WEBPACK_IMPORTED_MODULE_1__.primitive_type)(tokeniser);
2943 let idlType = (0,_helpers_js__WEBPACK_IMPORTED_MODULE_2__.primitive_type)(tokeniser);
/third_party/mesa3d/src/intel/vulkan/
DgenX_pipeline.c575 switch (get_mesh_prog_data(pipeline)->primitive_type) { in genX()
2249 mesh_prog_data->primitive_type == SHADER_PRIM_POINTS ? OUTPUT_POINT : in emit_mesh_state()
2250 mesh_prog_data->primitive_type == SHADER_PRIM_LINES ? OUTPUT_LINE : in emit_mesh_state()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_cube_map_array/
DesextcTextureCubeMapArraySampling.hpp297 shaderConfiguration(shaderType type, glw::GLenum primitive_type, const glw::GLchar* name);
DesextcTextureCubeMapArraySampling.cpp1879 void TextureCubeMapArraySamplingTest::draw(glw::GLuint program_id, glw::GLenum primitive_type, glw:… in draw() argument
1927 gl.drawArrays(primitive_type, 0, n_vertices); in draw()
4739 …SamplingTest::shaderConfiguration::shaderConfiguration(shaderType type, glw::GLenum primitive_type, argument
4741 : m_type(type), m_primitive_type(primitive_type), m_name(name)
/third_party/mesa3d/src/gallium/drivers/v3d/
Dv3dx_rcl.c460 fmt.primitive_type = LIST_TRIANGLES; in v3d_rcl_emit_generic_per_tile_list()
/third_party/mesa3d/src/amd/vulkan/
Dradv_shader.c1307 if (nir->info.mesh.primitive_type == SHADER_PRIM_POINTS) in radv_lower_ngg()
1309 else if (nir->info.mesh.primitive_type == SHADER_PRIM_LINES) in radv_lower_ngg()
1312 assert(nir->info.mesh.primitive_type == SHADER_PRIM_TRIANGLES); in radv_lower_ngg()
Dradv_shader_info.c666 info->ms.output_prim = nir->info.mesh.primitive_type; in radv_nir_shader_info_pass()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/tessellation_shader/
DesextcTessellationShaderInvariance.cpp1223 std::string primitive_type = (n_primitive_type == 0) ? "triangles" : "quads"; in verifyResultData() local
1238 << " for primitive type: " << primitive_type.c_str() in verifyResultData()
/third_party/mesa3d/src/compiler/nir/
Dnir_print.c1743 fprintf(fp, "output primitive: %s\n", primitive_name(shader->info.mesh.primitive_type)); in nir_print_shader_annotated()
/third_party/mesa3d/src/compiler/spirv/
Dspirv_to_nir.c5078 b->shader->info.mesh.primitive_type = in vtn_handle_execution_mode()
5091 b->shader->info.mesh.primitive_type = primitive; in vtn_handle_execution_mode()
5641 num_mesh_vertices_per_primitive(b->shader->info.mesh.primitive_type); in vtn_handle_write_packed_primitive_indices()

12