Home
last modified time | relevance | path

Searched refs:MESA_SHADER_TESS_CTRL (Results 1 – 25 of 146) sorted by relevance

123456

/third_party/mesa3d/src/mesa/main/
Dshaderobj.h141 return MESA_SHADER_TESS_CTRL; in _mesa_shader_enum_to_shader_stage()
165 case MESA_SHADER_TESS_CTRL: in _mesa_shader_stage_to_subroutine_prefix()
187 return MESA_SHADER_TESS_CTRL; in _mesa_shader_stage_from_subroutine_uniform()
207 return MESA_SHADER_TESS_CTRL; in _mesa_shader_stage_from_subroutine()
227 case MESA_SHADER_TESS_CTRL: in _mesa_shader_stage_to_subroutine()
248 case MESA_SHADER_TESS_CTRL: in _mesa_shader_stage_to_subroutine_uniform()
Ddraw_validate.c186 if (shader->CurrentProgram[MESA_SHADER_TESS_CTRL] && in _mesa_update_valid_to_render_state()
201 !shader->CurrentProgram[MESA_SHADER_TESS_CTRL]) in _mesa_update_valid_to_render_state()
442 shader->CurrentProgram[MESA_SHADER_TESS_CTRL]) { in _mesa_update_valid_to_render_state()
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_tcs_surface_state.c45 (struct brw_program *) brw->programs[MESA_SHADER_TESS_CTRL]; in brw_upload_tcs_pull_constants()
53 _mesa_shader_write_subroutine_indices(&brw->ctx, MESA_SHADER_TESS_CTRL); in brw_upload_tcs_pull_constants()
76 ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_CTRL]; in brw_upload_tcs_ubo_surfaces()
98 const struct gl_program *tcp = brw->programs[MESA_SHADER_TESS_CTRL]; in brw_upload_tcs_image_surfaces()
Dbrw_tcs.c55 ctx->Const.ShaderCompilerOptions[MESA_SHADER_TESS_CTRL].NirOptions; in brw_codegen_tcs_prog()
67 compiler->scalar_stage[MESA_SHADER_TESS_CTRL]); in brw_codegen_tcs_prog()
131 brw_debug_recompile(brw, MESA_SHADER_TESS_CTRL, tcp->program.Id, in brw_codegen_tcs_prog()
167 (struct brw_program *) brw->programs[MESA_SHADER_TESS_CTRL]; in brw_tcs_populate_key()
209 (struct brw_program *) brw->programs[MESA_SHADER_TESS_CTRL]; in brw_upload_tcs_prog()
227 if (brw_disk_cache_upload_program(brw, MESA_SHADER_TESS_CTRL)) in brw_upload_tcs_prog()
230 tcp = (struct brw_program *) brw->programs[MESA_SHADER_TESS_CTRL]; in brw_upload_tcs_prog()
Dgfx7_urb.c215 [MESA_SHADER_TESS_CTRL] = in gfx7_upload_urb()
225 for (int i = MESA_SHADER_TESS_CTRL; i <= MESA_SHADER_GEOMETRY; i++) { in gfx7_upload_urb()
236 brw->urb.hsize == entry_size[MESA_SHADER_TESS_CTRL] && in gfx7_upload_urb()
244 brw->urb.hsize = entry_size[MESA_SHADER_TESS_CTRL]; in gfx7_upload_urb()
Dbrw_tes.c127 (struct brw_program *) brw->programs[MESA_SHADER_TESS_CTRL]; in brw_tes_populate_key()
202 if (sh_prog->_LinkedShaders[MESA_SHADER_TESS_CTRL]) { in brw_tes_populate_default_key()
204 sh_prog->_LinkedShaders[MESA_SHADER_TESS_CTRL]->Program; in brw_tes_populate_default_key()
Dbrw_disk_cache.c98 case MESA_SHADER_TESS_CTRL: in read_and_upload()
173 case MESA_SHADER_TESS_CTRL: in read_and_upload()
321 prog = brw->ctx._Shader->CurrentProgram[MESA_SHADER_TESS_CTRL]; in brw_disk_cache_write_render_programs()
329 MESA_SHADER_TESS_CTRL); in brw_disk_cache_write_render_programs()
/third_party/mesa3d/src/intel/dev/
Dintel_device_info.c245 [MESA_SHADER_TESS_CTRL] = 32,
274 [MESA_SHADER_TESS_CTRL] = 64,
303 [MESA_SHADER_TESS_CTRL] = 32,
337 [MESA_SHADER_TESS_CTRL] = 64,
365 [MESA_SHADER_TESS_CTRL] = 128,
393 [MESA_SHADER_TESS_CTRL] = 128,
442 [MESA_SHADER_TESS_CTRL] = 504,
466 [MESA_SHADER_TESS_CTRL] = 504,
489 [MESA_SHADER_TESS_CTRL] = 504,
518 [MESA_SHADER_TESS_CTRL] = 80,
[all …]
/third_party/mesa3d/src/compiler/glsl/
Dir_set_program_inouts.cpp158 if (this->shader_stage == MESA_SHADER_TESS_CTRL && in mark_whole_variable()
164 if (this->shader_stage == MESA_SHADER_TESS_CTRL && in mark_whole_variable()
227 if (this->shader_stage == MESA_SHADER_TESS_CTRL && in try_mark_partial_variable()
233 if (this->shader_stage == MESA_SHADER_TESS_CTRL && in try_mark_partial_variable()
328 stage == MESA_SHADER_TESS_CTRL || in is_multiple_vertices()
331 return stage == MESA_SHADER_TESS_CTRL; in is_multiple_vertices()
/third_party/mesa3d/src/amd/vulkan/
Dradv_pipeline.c1398 pipeline->shaders[MESA_SHADER_TESS_CTRL]->info.num_tess_patches; in radv_compute_ia_multi_vgt_param_helpers()
1417 if (pipeline->shaders[MESA_SHADER_TESS_CTRL]->info.uses_prim_id || in radv_compute_ia_multi_vgt_param_helpers()
1830 bool has_tess = !!nir[MESA_SHADER_TESS_CTRL]; in gfx9_get_gs_info()
1967 if (nir[MESA_SHADER_TESS_CTRL]) { in radv_get_num_input_vertices()
1994 nir[MESA_SHADER_TESS_CTRL] ? &gs_info->tes.es_info : &gs_info->vs.es_info; in gfx10_get_ngg_info()
2063 struct radv_streamout_info *so_info = nir[MESA_SHADER_TESS_CTRL] in gfx10_get_ngg_info()
2074 if (!nir[MESA_SHADER_TESS_CTRL] && infos[MESA_SHADER_VERTEX].vs.outinfo.export_prim_id) in gfx10_get_ngg_info()
2118 wavesize = nir[MESA_SHADER_TESS_CTRL] ? infos[MESA_SHADER_TESS_EVAL].wave_size in gfx10_get_ngg_info()
2210 …gl_shader_stage es_stage = nir[MESA_SHADER_TESS_CTRL] ? MESA_SHADER_TESS_EVAL : MESA_SHADER_VERTEX; in gfx10_get_ngg_info()
2259 if (pipeline->shaders[MESA_SHADER_TESS_CTRL]) in radv_get_shader()
[all …]
/third_party/mesa3d/src/amd/common/
Dac_nir.c49 … (shader->info.stage != MESA_SHADER_TESS_CTRL && shader->info.stage != MESA_SHADER_TESS_EVAL && in ac_nir_lower_indirect_derefs()
53 if (!llvm_has_working_vgpr_indexing && shader->info.stage != MESA_SHADER_TESS_CTRL) in ac_nir_lower_indirect_derefs()
Dac_nir_lower_tess_io_to_mem.c167 if (stage == MESA_SHADER_TESS_CTRL && in match_mask()
183 return match_mask(MESA_SHADER_TESS_CTRL, intrin, mask, true); in tcs_output_needs_vmem()
194 return match_mask(MESA_SHADER_TESS_CTRL, intrin, mask, true); in tcs_output_needs_lds()
329 nir_ssa_def *out_vertices_per_patch = b->shader->info.stage == MESA_SHADER_TESS_CTRL in hs_per_vertex_output_vmem_offset()
352 nir_ssa_def *out_vertices_per_patch = b->shader->info.stage == MESA_SHADER_TESS_CTRL in hs_per_patch_output_vmem_offset()
645 assert(shader->info.stage == MESA_SHADER_TESS_CTRL); in ac_nir_lower_hs_inputs_to_mem()
669 assert(shader->info.stage == MESA_SHADER_TESS_CTRL); in ac_nir_lower_hs_outputs_to_mem()
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_pipe.h34 [PIPE_SHADER_TESS_CTRL] = MESA_SHADER_TESS_CTRL, in stage_from_pipe()
48 [MESA_SHADER_TESS_CTRL] = PIPE_SHADER_TESS_CTRL, in stage_to_pipe()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_pipe.h34 [PIPE_SHADER_TESS_CTRL] = MESA_SHADER_TESS_CTRL, in stage_from_pipe()
48 [MESA_SHADER_TESS_CTRL] = PIPE_SHADER_TESS_CTRL, in stage_to_pipe()
/third_party/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_from_mesa.h67 case MESA_SHADER_TESS_CTRL: in pipe_shader_type_from_mesa()
90 case PIPE_SHADER_TESS_CTRL: return MESA_SHADER_TESS_CTRL; in tgsi_processor_to_shader_stage()
/third_party/mesa3d/src/compiler/nir/
Dnir_divergence_analysis.c177 if (stage == MESA_SHADER_TESS_CTRL) in visit_intrinsic()
192 case MESA_SHADER_TESS_CTRL: in visit_intrinsic()
207 assert(stage == MESA_SHADER_TESS_CTRL || stage == MESA_SHADER_MESH); in visit_intrinsic()
210 (stage == MESA_SHADER_TESS_CTRL && in visit_intrinsic()
238 else if (stage == MESA_SHADER_TESS_CTRL) in visit_intrinsic()
249 if (stage == MESA_SHADER_TESS_CTRL) in visit_intrinsic()
260 assert(stage == MESA_SHADER_TESS_CTRL); in visit_intrinsic()
627 if (stage == MESA_SHADER_TESS_CTRL && in nir_variable_is_uniform()
Dnir_gather_info.c116 if (cross_invocation && shader->info.stage == MESA_SHADER_TESS_CTRL) in set_io_mask()
135 if (cross_invocation && shader->info.stage == MESA_SHADER_TESS_CTRL) in set_io_mask()
437 (shader->info.stage == MESA_SHADER_TESS_CTRL && in gather_intrinsic_info()
528 if (shader->info.stage == MESA_SHADER_TESS_CTRL && in gather_intrinsic_info()
537 if (shader->info.stage == MESA_SHADER_TESS_CTRL && in gather_intrinsic_info()
551 if (shader->info.stage == MESA_SHADER_TESS_CTRL && in gather_intrinsic_info()
564 if (shader->info.stage == MESA_SHADER_TESS_CTRL && in gather_intrinsic_info()
892 if (shader->info.stage == MESA_SHADER_TESS_CTRL) { in nir_shader_gather_info()
/third_party/mesa3d/src/intel/compiler/
Dbrw_vec4_tcs.cpp370 const bool is_scalar = compiler->scalar_stage[MESA_SHADER_TESS_CTRL]; in brw_compile_tcs()
374 vue_prog_data->base.stage = MESA_SHADER_TESS_CTRL; in brw_compile_tcs()
455 brw_print_vue_map(stderr, &input_vue_map, MESA_SHADER_TESS_CTRL); in brw_compile_tcs()
457 brw_print_vue_map(stderr, &vue_prog_data->vue_map, MESA_SHADER_TESS_CTRL); in brw_compile_tcs()
473 &prog_data->base.base, false, MESA_SHADER_TESS_CTRL); in brw_compile_tcs()
Dbrw_compiler.c225 insert_u64_bit(&config, compiler->scalar_stage[MESA_SHADER_TESS_CTRL]); in brw_get_compiler_config_value()
243 [MESA_SHADER_TESS_CTRL] = sizeof(struct brw_tcs_prog_data), in brw_prog_data_size()
265 [MESA_SHADER_TESS_CTRL] = sizeof(struct brw_tcs_prog_key), in brw_prog_key_size()
/third_party/mesa3d/src/mesa/program/
Dprogram.h126 return MESA_SHADER_TESS_CTRL; in _mesa_program_enum_to_shader_stage()
148 case MESA_SHADER_TESS_CTRL: in _mesa_shader_stage_to_program()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_nir_lower_tess_io.cpp11 return stage == MESA_SHADER_TESS_CTRL || stage == MESA_SHADER_TESS_EVAL; in r600_lower_tess_io_filter()
21 return stage == MESA_SHADER_TESS_CTRL || stage == MESA_SHADER_VERTEX; in r600_lower_tess_io_filter()
298 if (b->shader->info.stage == MESA_SHADER_TESS_CTRL) { in r600_lower_tess_io_impl()
315 if (b->shader->info.stage == MESA_SHADER_TESS_CTRL) in r600_lower_tess_io_impl()
327 b->shader->info.stage == MESA_SHADER_TESS_CTRL ? in r600_lower_tess_io_impl()
345 nir_ssa_def *addr = (b->shader->info.stage == MESA_SHADER_TESS_CTRL) ? in r600_lower_tess_io_impl()
431 if (shader->info.stage != MESA_SHADER_TESS_CTRL) in r600_append_tcs_TF_emission()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm.c155 real_stage = MESA_SHADER_TESS_CTRL; in si_llvm_create_func()
165 case MESA_SHADER_TESS_CTRL: in si_llvm_create_func()
222 if (shader->key.as_ls || ctx->stage == MESA_SHADER_TESS_CTRL) { in si_llvm_create_main_func()
326 if (ctx->screen->info.chip_class == GFX6 && ctx->stage == MESA_SHADER_TESS_CTRL) { in si_llvm_emit_barrier()
399 case MESA_SHADER_TESS_CTRL: in si_get_primitive_id()
768 if (ctx->stage == MESA_SHADER_TESS_CTRL) { in si_build_wrapper_function()
804 if (ctx->stage == MESA_SHADER_TESS_CTRL && in si_build_wrapper_function()
835 case MESA_SHADER_TESS_CTRL: in si_llvm_translate_nir()
865 if (ctx->stage == MESA_SHADER_TESS_CTRL && sel->info.tessfactors_are_def_in_all_invocs) { in si_llvm_translate_nir()
956 (ctx->stage == MESA_SHADER_TESS_CTRL && !shader->is_monolithic)) { in si_llvm_translate_nir()
[all …]
/third_party/mesa3d/src/mesa/state_tracker/
Dst_atom_atomicbuf.c127 st->ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_CTRL]; in st_bind_tcs_atomics()
129 st_bind_atomics(st, prog, MESA_SHADER_TESS_CTRL); in st_bind_tcs_atomics()
/third_party/mesa3d/src/compiler/
Dshader_enums.c41 ENUM(MESA_SHADER_TESS_CTRL), in gl_shader_stage_name()
73 case MESA_SHADER_TESS_CTRL: return "tessellation control"; in _mesa_shader_stage_to_string()
101 case MESA_SHADER_TESS_CTRL: return "TCS"; in _mesa_shader_stage_to_abbrev()
/third_party/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_cache.c105 [MESA_SHADER_TESS_CTRL] = ir3_get_shader(key->hs), in ir3_cache_lookup()
158 variants[MESA_SHADER_TESS_CTRL], variants[MESA_SHADER_TESS_EVAL], in ir3_cache_lookup()

123456