Home
last modified time | relevance | path

Searched refs:_primitive_mode (Results 1 - 25 of 36) sorted by relevance

12

/third_party/vk-gl-cts/external/openglcts/modules/gl/
H A Dgl3cCullDistanceTests.hpp163 enum _primitive_mode enum in glcts::CullDistance::FunctionalTest
174 _primitive_mode primitive_mode, bool redeclare_clipdistances, bool redeclare_culldistances,
178 _primitive_mode primitive_mode);
183 _primitive_mode primitive_mode, bool use_tesselation, bool fetch_culldistance_from_fs);
H A Dgl3cCullDistanceTests.cpp1112 bool dynamic_index_writes, _primitive_mode primitive_mode, in buildPO()
1715 * @param _primitive_mode Primitives to be generated. Can be:
1721 glw::GLuint culldistances_array_size, _primitive_mode primitive_mode) in configureVAO()
2211 * @param [in] primitive_mode Type of primitives to be rendered (see enum _primitive_mode)
2217 _primitive_mode primitive_mode, bool use_tesselation, in executeRenderTest()
2799 const _primitive_mode primitive_modes[PRIMITIVE_MODE_COUNT] = { PRIMITIVE_MODE_LINES, PRIMITIVE_MODE_POINTS, in iterate()
2804 _primitive_mode primitive_mode = primitive_modes[primitive_mode_index]; in iterate()
/third_party/mesa3d/src/microsoft/compiler/
H A Ddxil_nir_tess.c323 if (nir->info.tess._primitive_mode != TESS_PRIMITIVE_QUADS) { in dxil_nir_fixup_tess_level_for_domain()
328 new_array_size = nir->info.tess._primitive_mode == TESS_PRIMITIVE_TRIANGLES ? 3 : 2; in dxil_nir_fixup_tess_level_for_domain()
331 new_array_size = nir->info.tess._primitive_mode == TESS_PRIMITIVE_TRIANGLES ? 1 : 0; in dxil_nir_fixup_tess_level_for_domain()
H A Dnir_to_dxil.c1400 if (info->tess._primitive_mode == TESS_PRIMITIVE_ISOLINES) in get_tessellator_output_primitive()
1418 hs_state_nodes[3] = dxil_get_metadata_int32(&ctx->mod, get_tessellator_domain(ctx->shader->info.tess._primitive_mode)); in emit_hs_state()
1431 ds_state_nodes[0] = dxil_get_metadata_int32(&ctx->mod, get_tessellator_domain(ctx->shader->info.tess._primitive_mode)); in emit_ds_state()
2763 unsigned num_coords = ctx->shader->info.tess._primitive_mode == TESS_PRIMITIVE_TRIANGLES ? 3 : 2; in emit_load_tess_coord()
5666 state->state.psv1.psv0.hs.tessellator_domain = get_tessellator_domain(ctx->shader->info.tess._primitive_mode); in dxil_fill_validation_state()
5672 state->state.psv1.psv0.ds.tessellator_domain = get_tessellator_domain(ctx->shader->info.tess._primitive_mode); in dxil_fill_validation_state()
/third_party/mesa3d/src/mesa/main/
H A Ddraw_validate.c319 } else if (tes->info.tess._primitive_mode == TESS_PRIMITIVE_ISOLINES) { in _mesa_update_valid_to_render_state()
391 else if (tes->info.tess._primitive_mode == TESS_PRIMITIVE_ISOLINES) in _mesa_update_valid_to_render_state()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
H A Dlvp_pipeline.c565 assert(tcs_info->tess._primitive_mode == 0 || in merge_tess_info()
566 tes_info->tess._primitive_mode == 0 || in merge_tess_info()
567 tcs_info->tess._primitive_mode == tes_info->tess._primitive_mode); in merge_tess_info()
568 tes_info->tess._primitive_mode |= tcs_info->tess._primitive_mode; in merge_tess_info()
/third_party/mesa3d/src/amd/common/
H A Dac_nir_lower_tess_io_to_mem.c527 switch (shader->info.tess._primitive_mode) { in hs_emit_write_tess_factors()
596 if (shader->info.tess._primitive_mode == TESS_PRIMITIVE_ISOLINES) { in hs_emit_write_tess_factors()
600 } else if (shader->info.tess._primitive_mode == TESS_PRIMITIVE_TRIANGLES) { in hs_emit_write_tess_factors()
/third_party/mesa3d/src/intel/compiler/
H A Dbrw_nir.c34 enum tess_primitive_mode _primitive_mode) in remap_tess_levels()
41 switch (_primitive_mode) { in remap_tess_levels()
60 if (_primitive_mode == TESS_PRIMITIVE_ISOLINES) { in remap_tess_levels()
69 out_of_bounds = component == 3 && _primitive_mode == TESS_PRIMITIVE_TRIANGLES; in remap_tess_levels()
370 nir->info.tess._primitive_mode); in brw_nir_lower_tes_inputs()
33 remap_tess_levels(nir_builder *b, nir_intrinsic_instr *intr, enum tess_primitive_mode _primitive_mode) remap_tess_levels() argument
H A Dbrw_shader.cpp1383 switch (nir->info.tess._primitive_mode) { in brw_compile_tes()
1399 } else if (nir->info.tess._primitive_mode == TESS_PRIMITIVE_ISOLINES) { in brw_compile_tes()
/third_party/mesa3d/src/compiler/
H A Dshader_info.h502 enum tess_primitive_mode _primitive_mode; member
/third_party/mesa3d/src/intel/vulkan/
H A Danv_pipeline.c867 assert(tcs_info->tess._primitive_mode == 0 || in merge_tess_info()
868 tes_info->tess._primitive_mode == 0 || in merge_tess_info()
869 tcs_info->tess._primitive_mode == tes_info->tess._primitive_mode); in merge_tess_info()
870 tes_info->tess._primitive_mode |= tcs_info->tess._primitive_mode; in merge_tess_info()
896 tes_stage->nir->info.tess._primitive_mode; in anv_pipeline_link_tcs()
899 tes_stage->nir->info.tess._primitive_mode == TESS_PRIMITIVE_QUADS && in anv_pipeline_link_tcs()
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_shader_info.c655 info->tes._primitive_mode = nir->info.tess._primitive_mode; in radv_nir_shader_info_pass()
H A Dradv_pipeline.c2416 if (tes->info.tess._primitive_mode == TESS_PRIMITIVE_ISOLINES) in radv_get_num_input_vertices()
3433 : stages[es_stage].nir->info.tess._primitive_mode == TESS_PRIMITIVE_ISOLINES ? 2 in radv_determine_ngg_settings()
3783 assert(tcs_info->tess._primitive_mode == TESS_PRIMITIVE_UNSPECIFIED || in merge_tess_info()
3784 tes_info->tess._primitive_mode == TESS_PRIMITIVE_UNSPECIFIED || in merge_tess_info()
3785 tcs_info->tess._primitive_mode == tes_info->tess._primitive_mode); in merge_tess_info()
3786 tes_info->tess._primitive_mode |= tcs_info->tess._primitive_mode; in merge_tess_info()
3793 tcs_info->tess._primitive_mode = tes_info->tess._primitive_mode; in merge_tess_info()
[all...]
H A Dradv_shader.h298 enum tess_primitive_mode _primitive_mode; member
H A Dradv_shader.c1289 else if (nir->info.tess._primitive_mode == TESS_PRIMITIVE_ISOLINES) in radv_lower_ngg()
1848 need_gs_vtx_offset2 &= info->tes._primitive_mode == TESS_PRIMITIVE_TRIANGLES || in radv_postprocess_config()
1849 info->tes._primitive_mode == TESS_PRIMITIVE_QUADS; in radv_postprocess_config()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
H A Dsfn_nir.cpp737 u_tess_prim_from_shader(sh->info.tess._primitive_mode) : key->tcs.prim_mode; in r600_shader_from_nir()
746 NIR_PASS_V(sh, r600_lower_tess_coord, u_tess_prim_from_shader(sh->info.tess._primitive_mode)); in r600_shader_from_nir()
/third_party/mesa3d/src/compiler/glsl/
H A Dlinker.cpp1869 gl_prog->info.tess._primitive_mode = TESS_PRIMITIVE_UNSPECIFIED; in link_tes_in_layout_qualifiers()
1890 if (gl_prog->info.tess._primitive_mode != TESS_PRIMITIVE_UNSPECIFIED && in link_tes_in_layout_qualifiers()
1891 gl_prog->info.tess._primitive_mode != in link_tes_in_layout_qualifiers()
1897 gl_prog->info.tess._primitive_mode = in link_tes_in_layout_qualifiers()
1937 if (gl_prog->info.tess._primitive_mode == TESS_PRIMITIVE_UNSPECIFIED) { in link_tes_in_layout_qualifiers()
/third_party/mesa3d/src/gallium/drivers/zink/
H A Dzink_pipeline.c281 prog->nir[PIPE_SHADER_TESS_EVAL]->info.tess._primitive_mode == TESS_PRIMITIVE_ISOLINES; in zink_create_gfx_pipeline()
/third_party/mesa3d/src/gallium/drivers/freedreno/ir3/
H A Dir3_gallium.c195 key.tessellation = ir3_tess_mode(nir->info.tess._primitive_mode); in create_initial_variants()
/third_party/mesa3d/src/gallium/drivers/iris/
H A Diris_program.c1612 ._tes_primitive_mode = tes_info->tess._primitive_mode, in iris_update_compiled_tcs()
1616 tes_info->tess._primitive_mode == TESS_PRIMITIVE_QUADS && in iris_update_compiled_tcs()
2618 info->tess._primitive_mode ? info->tess._primitive_mode in iris_create_shader_state()
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
H A Dfd6_draw.c179 emit.key.key.tessellation = ir3_tess_mode(ds_info->tess._primitive_mode);
/third_party/mesa3d/src/gallium/drivers/crocus/
H A Dcrocus_program.c1530 ._tes_primitive_mode = tes_info->tess._primitive_mode, in crocus_update_compiled_tcs()
1532 .quads_workaround = tes_info->tess._primitive_mode == TESS_PRIMITIVE_QUADS && in crocus_update_compiled_tcs()
2799 info->tess._primitive_mode ? info->tess._primitive_mode in crocus_create_tcs_state()
/third_party/mesa3d/src/gallium/auxiliary/nir/
H A Dnir_to_tgsi_info.c431 info->properties[TGSI_PROPERTY_TES_PRIM_MODE] = u_tess_prim_from_shader(nir->info.tess._primitive_mode); in nir_tgsi_scan_shader()
/third_party/mesa3d/src/gallium/drivers/d3d12/
H A Dd3d12_compiler.cpp981 key->hs.primitive_mode = next->current->nir->info.tess._primitive_mode; in d3d12_fill_shader_key()
1157 new_nir_variant->info.tess._primitive_mode = (tess_primitive_mode)key.hs.primitive_mode; in select_shader_variant()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_state_shaders.cpp517 enum tess_primitive_mode tes_prim_mode = info->base.tess._primitive_mode; in si_set_tesseval_regs()
1307 if (gs->info.base.tess._primitive_mode == TESS_PRIMITIVE_ISOLINES)
3214 else if (sel->info.base.tess._primitive_mode == TESS_PRIMITIVE_ISOLINES)
3524 sel ? sel->info.base.tess._primitive_mode : 0;

Completed in 104 milliseconds

12