/third_party/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_tess.c | 56 unsigned prim_id, in llvm_fetch_tcs_input() argument 68 int vertex_idx = prim_id * num_vertices + i; in llvm_fetch_tcs_input() 73 i, prim_id, 0); in llvm_fetch_tcs_input() 108 unsigned prim_id, in llvm_store_tcs_output() argument 124 i, prim_id, 0); in llvm_store_tcs_output() 146 llvm_tcs_run(struct draw_tess_ctrl_shader *shader, uint32_t prim_id) in llvm_tcs_run() argument 148 …_variant->jit_func(shader->jit_context, shader->tcs_input->data, shader->tcs_output->data, prim_id, in llvm_tcs_run() 220 unsigned prim_id, in llvm_fetch_tes_input() argument 232 int vertex_idx = prim_id * num_vertices + i; in llvm_fetch_tes_input() 238 i, prim_id, 0); in llvm_fetch_tes_input() [all …]
|
D | draw_llvm.c | 2864 system_values.prim_id = LLVMBuildLoad2(builder, prim_id_type, prim_id_ptr, "prim_id"); in draw_gs_llvm_generate() 3340 LLVMValueRef input_array, output_array, prim_id, patch_vertices_in; in draw_tcs_llvm_generate() local 3398 prim_id = LLVMGetParam(variant_func, 3); in draw_tcs_llvm_generate() 3405 lp_build_name(prim_id, "prim_id"); in draw_tcs_llvm_generate() 3443 args[3] = prim_id; in draw_tcs_llvm_generate() 3486 prim_id = LLVMGetParam(variant_coro, 3); in draw_tcs_llvm_generate() 3512 system_values.prim_id = lp_build_broadcast_scalar(&bldvec, prim_id); in draw_tcs_llvm_generate() 3911 LLVMValueRef tess_inner, tess_outer, prim_id, patch_vertices_in; in draw_tes_llvm_generate() local 3965 prim_id = LLVMGetParam(variant_func, 3); in draw_tes_llvm_generate() 3977 lp_build_name(prim_id, "prim_id"); in draw_tes_llvm_generate() [all …]
|
D | draw_llvm.h | 481 uint32_t prim_id, uint32_t patch_vertices_in, 488 uint32_t prim_id, uint32_t num_tess_coord,
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
D | sfn_shader_vs.h | 41 void set_primitive_id(PRegister prim_id) { m_primitive_id = prim_id;} in set_primitive_id() argument
|
/third_party/mesa3d/src/amd/common/ |
D | ac_nir_lower_esgs_io_to_mem.c | 204 nir_ssa_def *prim_id = nir_load_primitive_id(b); in gs_get_vertex_offset() local 206 nir_ssa_def *cond = nir_i2b(b, nir_iand_imm(b, prim_id, 1)); in gs_get_vertex_offset()
|
D | ac_nir_lower_ngg.c | 468 nir_ssa_def *prim_id = nir_load_primitive_id(b); in emit_ngg_nogs_prim_id_store_shared() local 472 nir_store_shared(b, prim_id, addr); in emit_ngg_nogs_prim_id_store_shared() 480 nir_ssa_def *prim_id = NULL; in emit_store_ngg_nogs_es_primitive_id() local 488 prim_id = nir_load_shared(b, 1, 32, addr); in emit_store_ngg_nogs_es_primitive_id() 491 prim_id = nir_load_primitive_id(b); in emit_store_ngg_nogs_es_primitive_id() 499 nir_store_output(b, prim_id, nir_imm_zero(b, 1, 32), in emit_store_ngg_nogs_es_primitive_id()
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
D | d3d12_gs_variant.cpp | 250 nir_ssa_def *prim_id = nir_load_primitive_id(b); in d3d12_begin_emit_primitives_gs() local 252 prim_id, in d3d12_begin_emit_primitives_gs()
|
/third_party/mesa3d/src/gallium/frontends/d3d10umd/ |
D | ShaderTGSI.c | 214 struct ureg_src prim_id; member 526 sx->prim_id = ureg_DECL_system_value(ureg, TGSI_SEMANTIC_PRIMID, 0); in dcl_gs_input() 670 reg = sx->prim_id; in translate_relative_operand() 756 reg = ureg_dst(sx->prim_id); in translate_operand() 1044 reg = sx->prim_id; in translate_src_operand()
|
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_tgsi.h | 170 LLVMValueRef prim_id; member
|
D | lp_bld_tgsi_soa.c | 1135 res = bld->system_values.prim_id; in emit_fetch_gs_input() 1223 res = bld->system_values.prim_id; in emit_fetch_tcs_input() 1326 res = bld->system_values.prim_id; in emit_fetch_tes_input() 1514 res = bld->system_values.prim_id; in emit_fetch_system_value()
|
D | lp_bld_nir_soa.c | 1751 result[0] = bld->system_values.prim_id; in emit_sysval_intrin()
|
/third_party/mesa3d/docs/relnotes/ |
D | 19.2.0.rst | 146 - radv: Use correct vgpr_comp_cnt for VS if both prim_id and
|
D | 19.3.0.rst | 475 - radv: Use correct vgpr_comp_cnt for VS if both prim_id and
|