Home
last modified time | relevance | path

Searched refs:system_values (Results 1 – 6 of 6) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm.c432 const struct lp_bld_tgsi_system_values *system_values, in generate_vs() argument
454 system_values, in generate_vs()
1095 struct lp_bld_tgsi_system_values system_values; in draw_llvm_generate() local
1097 memset(&system_values, 0, sizeof(system_values)); in draw_llvm_generate()
1133 system_values.instance_id = LLVMGetParam(variant_func, 7); in draw_llvm_generate()
1140 lp_build_name(system_values.instance_id, "instance_id"); in draw_llvm_generate()
1213 system_values.vertex_id = lp_build_zero(gallivm, lp_type_uint_vec(32, 32*vector_length)); in draw_llvm_generate()
1232 system_values.vertex_id = LLVMBuildInsertElement(gallivm->builder, in draw_llvm_generate()
1233 system_values.vertex_id, true_index, in draw_llvm_generate()
1242 system_values.instance_id); in draw_llvm_generate()
[all …]
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_tgsi.h217 const struct lp_bld_tgsi_system_values *system_values,
393 struct lp_bld_tgsi_system_values system_values; member
Dlp_bld_tgsi_soa.c799 res = lp_build_broadcast_scalar(&bld_base->uint_bld, bld->system_values.instance_id); in emit_fetch_system_value()
804 res = bld->system_values.vertex_id; in emit_fetch_system_value()
2057 const struct lp_bld_tgsi_system_values *system_values, in lp_build_tgsi_soa() argument
2132 bld.system_values = *system_values; in lp_build_tgsi_soa()
/external/mesa3d/src/gallium/drivers/radeon/
Dradeon_llvm.h98 LLVMValueRef system_values[RADEON_LLVM_MAX_SYSTEM_VALUES]; member
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_fs.c250 struct lp_bld_tgsi_system_values system_values; in generate_fs() local
252 memset(&system_values, 0, sizeof(system_values)); in generate_fs()
342 consts_ptr, &system_values, in generate_fs()
479 struct lp_bld_tgsi_system_values system_values; in generate_fs_loop() local
481 memset(&system_values, 0, sizeof(system_values)); in generate_fs_loop()
581 consts_ptr, &system_values, in generate_fs_loop()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_llvm.c51 ctx->system_values[index] = build_intrinsic( in llvm_load_system_value()
65 LLVMValueRef cval = ctx->system_values[reg->Register.Index]; in llvm_fetch_system_value()