/external/mesa3d/src/gallium/drivers/swr/ |
D | swr_shader.cpp | 237 struct lp_bld_tgsi_system_values system_values; in CompileVS() local 238 memset(&system_values, 0, sizeof(system_values)); in CompileVS() 239 system_values.instance_id = wrap(LOAD(pVsCtx, {0, SWR_VS_CONTEXT_InstanceID})); in CompileVS() 240 system_values.vertex_id = wrap(LOAD(pVsCtx, {0, SWR_VS_CONTEXT_VertexID})); in CompileVS() 248 &system_values, in CompileVS() 609 struct lp_bld_tgsi_system_values system_values; in CompileFS() local 610 memset(&system_values, 0, sizeof(system_values)); in CompileFS() 626 &system_values, in CompileFS()
|
/external/mesa3d/src/gallium/drivers/ilo/shader/ |
D | toy_tgsi.h | 91 } system_values[8]; member 125 if (tgsi->system_values[slot].index == index) in toy_tgsi_find_system_value()
|
D | ilo_shader_vs.c | 202 switch (tgsi->system_values[slot].semantic_name) { in vs_lower_opcode_tgsi_sv() 214 (tgsi->system_values[slot].semantic_name == in vs_lower_opcode_tgsi_sv() 1011 switch (tgsi->system_values[i].semantic_name) { in vs_setup_shader_in() 1022 tgsi->system_values[i].semantic_name; in vs_setup_shader_in() 1024 tgsi->system_values[i].semantic_index; in vs_setup_shader_in()
|
D | toy_tgsi.c | 2162 if (decl->Range.Last >= ARRAY_SIZE(tgsi->system_values)) { in decl_add_sv() 2170 tgsi->system_values[slot].index = index; in decl_add_sv() 2172 tgsi->system_values[slot].semantic_name = decl->Semantic.Name; in decl_add_sv() 2173 tgsi->system_values[slot].semantic_index = decl->Semantic.Index; in decl_add_sv() 2176 tgsi->system_values[slot].semantic_name = TGSI_SEMANTIC_GENERIC; in decl_add_sv() 2177 tgsi->system_values[slot].semantic_index = index; in decl_add_sv()
|
D | ilo_shader_fs.c | 467 switch (tgsi->system_values[slot].semantic_name) { in fs_lower_opcode_tgsi_sv()
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_llvm.c | 603 const struct lp_bld_tgsi_system_values *system_values, in generate_vs() argument 621 system_values, in generate_vs() 1569 struct lp_bld_tgsi_system_values system_values; in draw_llvm_generate() local 1571 memset(&system_values, 0, sizeof(system_values)); in draw_llvm_generate() 1618 system_values.instance_id = LLVMGetParam(variant_func, 7); in draw_llvm_generate() 1630 lp_build_name(system_values.instance_id, "instance_id"); in draw_llvm_generate() 1741 current_instance = LLVMBuildUDiv(builder, system_values.instance_id, in draw_llvm_generate() 1776 lp_build_printf(gallivm, " instance_id = %u\n", system_values.instance_id); in draw_llvm_generate() 1890 system_values.basevertex = lp_build_broadcast_scalar(&blduivec, in draw_llvm_generate() 1892 system_values.vertex_id = true_index_array; in draw_llvm_generate() [all …]
|
/external/mesa3d/src/compiler/nir/ |
D | nir_lower_constant_initializers.c | 84 progress |= lower_const_initializer(&builder, &shader->system_values); in nir_lower_constant_initializers()
|
D | nir_lower_system_values.c | 164 exec_list_make_empty(&shader->system_values); in nir_lower_system_values()
|
D | nir_sweep.c | 174 steal_list(nir, nir_variable, &nir->system_values); in nir_sweep()
|
D | nir_remove_dead_variables.c | 180 progress = remove_dead_vars(&shader->system_values, live) || progress; in nir_remove_dead_variables()
|
D | nir_clone.c | 748 clone_var_list(&state, &ns->system_values, &s->system_values); in nir_shader_clone()
|
D | nir_validate.c | 1177 exec_list_validate(&shader->system_values); in nir_validate_shader() 1178 nir_foreach_variable(var, &shader->system_values) { in nir_validate_shader()
|
D | nir.c | 52 exec_list_make_empty(&shader->system_values); in nir_shader_create() 150 exec_list_push_tail(&shader->system_values, &var->node); in nir_shader_add_variable()
|
D | nir_print.c | 1186 nir_foreach_variable(var, &shader->system_values) { in nir_print_shader_annotated()
|
D | nir.h | 1847 struct exec_list system_values; member
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_tgsi.h | 226 const struct lp_bld_tgsi_system_values *system_values, 487 struct lp_bld_tgsi_system_values system_values; member
|
D | lp_bld_tgsi_soa.c | 1526 res = bld->system_values.prim_id; in emit_fetch_gs_input() 1664 res = lp_build_broadcast_scalar(&bld_base->uint_bld, bld->system_values.instance_id); in emit_fetch_system_value() 1669 res = bld->system_values.vertex_id; in emit_fetch_system_value() 1674 res = bld->system_values.vertex_id_nobase; in emit_fetch_system_value() 1679 res = bld->system_values.basevertex; in emit_fetch_system_value() 1684 res = bld->system_values.prim_id; in emit_fetch_system_value() 1689 res = lp_build_broadcast_scalar(&bld_base->uint_bld, bld->system_values.invocation_id); in emit_fetch_system_value() 3894 const struct lp_bld_tgsi_system_values *system_values, in lp_build_tgsi_soa() argument 4056 bld.system_values = *system_values; in lp_build_tgsi_soa()
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_shader_internal.h | 92 LLVMValueRef system_values[RADEON_LLVM_MAX_SYSTEM_VALUES]; member
|
D | si_shader_tgsi_setup.c | 773 LLVMValueRef cval = ctx->system_values[reg->Register.Index]; in fetch_system_value()
|
D | si_shader.c | 1853 radeon_bld->system_values[index] = value; in declare_system_value()
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_state_fs.c | 337 struct lp_bld_tgsi_system_values system_values; in generate_fs_loop() local 339 memset(&system_values, 0, sizeof(system_values)); in generate_fs_loop() 477 consts_ptr, num_consts_ptr, &system_values, in generate_fs_loop()
|