Lines Matching defs:tess
1641 struct radv_tessellation_state tess = {0};
1658 tess.lds_size = lds_size;
1660 tess.ls_hs_config = S_028B58_NUM_PATCHES(num_patches) |
1663 tess.num_patches = num_patches;
1720 tess.tf_param = S_028B6C_TYPE(type) |
1725 return tess;
1994 keys[MESA_SHADER_TESS_CTRL].tcs.primitive_mode = nir[MESA_SHADER_TESS_EVAL]->info.tess.primitive_mode;
2037 assert(tcs_info->tess.tcs_vertices_out == 0 ||
2038 tes_info->tess.tcs_vertices_out == 0 ||
2039 tcs_info->tess.tcs_vertices_out == tes_info->tess.tcs_vertices_out);
2040 tes_info->tess.tcs_vertices_out |= tcs_info->tess.tcs_vertices_out;
2042 assert(tcs_info->tess.spacing == TESS_SPACING_UNSPECIFIED ||
2043 tes_info->tess.spacing == TESS_SPACING_UNSPECIFIED ||
2044 tcs_info->tess.spacing == tes_info->tess.spacing);
2045 tes_info->tess.spacing |= tcs_info->tess.spacing;
2047 assert(tcs_info->tess.primitive_mode == 0 ||
2048 tes_info->tess.primitive_mode == 0 ||
2049 tcs_info->tess.primitive_mode == tes_info->tess.primitive_mode);
2050 tes_info->tess.primitive_mode |= tcs_info->tess.primitive_mode;
2051 tes_info->tess.ccw |= tcs_info->tess.ccw;
2052 tes_info->tess.point_mode |= tcs_info->tess.point_mode;
2176 nir_lower_patch_vertices(nir[MESA_SHADER_TESS_EVAL], nir[MESA_SHADER_TESS_CTRL]->info.tess.tcs_vertices_out, NULL);
3035 const struct radv_tessellation_state *tess)
3044 rsrc2 |= S_00B52C_LDS_SIZE(tess->lds_size);
3058 const struct radv_tessellation_state *tess)
3070 S_00B42C_LDS_SIZE(tess->lds_size));
3084 const struct radv_tessellation_state *tess)
3094 radv_pipeline_generate_hw_ls(cs, pipeline, vs, tess);
3105 const struct radv_tessellation_state *tess)
3122 radv_pipeline_generate_hw_hs(cs, pipeline, tcs, tess);
3125 tess->tf_param);
3129 tess->ls_hs_config);
3132 tess->ls_hs_config);
3468 const struct radv_tessellation_state *tess,
3485 radv_pipeline_generate_vertex_shader(ctx_cs, cs, pipeline, tess);
3486 radv_pipeline_generate_tess_shaders(ctx_cs, cs, pipeline, tess);
3516 const struct radv_tessellation_state *tess,
3523 ia_multi_vgt_param.primgroup_size = tess->num_patches;
3765 struct radv_tessellation_state tess = {0};
3771 tess = calculate_tess_state(pipeline, pCreateInfo);
3774 pipeline->graphics.ia_multi_vgt_param = radv_compute_ia_multi_vgt_param_helpers(pipeline, &tess, prim);
3796 radv_pipeline_generate_pm4(pipeline, pCreateInfo, extra, &blend, &tess, &gs, prim, gs_out);