Searched refs:invocation_id (Results 1 - 25 of 30) sorted by relevance

12

/xsrc/external/mit/MesaLib.old/dist/src/intel/compiler/
H A Dbrw_vec4_tcs.h80 src_reg invocation_id; member in class:brw::vec4_tcs_visitor
H A Dbrw_vec4_tcs.cpp78 invocation_id = src_reg(this, glsl_type::uint_type);
79 emit(TCS_OPCODE_GET_INSTANCE_ID, dst_reg(invocation_id));
87 emit(CMP(dst_null_d(), invocation_id,
123 * We want to compare the bottom half of invocation_id with 0, but
126 * align16, so we need an opcode to get invocation_id<0,4,0>.
130 invocation_id));
249 invocation_id));
H A Dbrw_fs.h382 fs_reg invocation_id; member in class:fs_visitor
H A Dbrw_fs.cpp7412 invocation_id = channels_ud;
7418 invocation_id = bld.vgrf(BRW_REGISTER_TYPE_UD);
7427 bld.ADD(invocation_id, instance_times_8, channels_ud);
7432 bld.CMP(bld.null_reg_ud(), invocation_id,
/xsrc/external/mit/MesaLib/dist/src/intel/compiler/
H A Dbrw_vec4_tcs.h78 src_reg invocation_id; member in class:brw::vec4_tcs_visitor
H A Dbrw_vec4_tcs.cpp78 invocation_id = src_reg(this, glsl_type::uint_type);
79 emit(TCS_OPCODE_GET_INSTANCE_ID, dst_reg(invocation_id));
87 emit(CMP(dst_null_d(), invocation_id,
123 * We want to compare the bottom half of invocation_id with 0, but
126 * align16, so we need an opcode to get invocation_id<0,4,0>.
130 invocation_id));
249 invocation_id));
H A Dbrw_fs.h418 fs_reg invocation_id; member in class:fs_visitor
H A Dbrw_fs.cpp9024 invocation_id = bld.vgrf(BRW_REGISTER_TYPE_UD);
9028 bld.SHR(invocation_id, t, brw_imm_ud(instance_id_shift));
9040 invocation_id = channels_ud;
9044 bld.ADD(invocation_id, instance_times_8, channels_ud);
9085 bld.CMP(bld.null_reg_ud(), invocation_id,
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/draw/
H A Ddraw_gs.h98 unsigned invocation_id; member in struct:draw_geometry_shader
H A Ddraw_llvm.h285 unsigned invocation_id);
H A Ddraw_gs.c202 machine->SystemValue[i].xyzw[0].i[j] = shader->invocation_id;
416 shader->invocation_id);
663 shader->invocation_id = invocation;
H A Ddraw_llvm.c2289 system_values.invocation_id = LLVMGetParam(variant_func, 6);
2297 lp_build_name(system_values.invocation_id, "invocation_id");
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/draw/
H A Ddraw_gs.h99 unsigned invocation_id; member in struct:draw_geometry_shader
H A Ddraw_gs.c215 machine->SystemValue[i].xyzw[0].i[j] = shader->invocation_id;
401 shader->invocation_id,
425 shader->invocation_id = invocation;
H A Ddraw_llvm.h474 unsigned invocation_id,
H A Ddraw_llvm.c2822 system_values.invocation_id = LLVMGetParam(variant_func, 6);
2831 lp_build_name(system_values.invocation_id, "invocation_id");
3523 system_values.invocation_id = invocvec;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeonsi/
H A Dsi_shader_llvm_tess.c641 LLVMValueRef invocation_id, buffer, buffer_offset; local in function:si_copy_tcs_inputs
645 invocation_id = si_unpack_param(ctx, ctx->args.tcs_rel_ids, 8, 5);
651 lds_base = ac_build_imad(&ctx->ac, invocation_id, lds_vertex_stride, lds_base);
661 ctx, get_rel_patch_id(ctx), invocation_id, LLVMConstInt(ctx->ac.i32, i, 0));
671 LLVMValueRef invocation_id,
692 LLVMBuildICmp(ctx->ac.builder, LLVMIntEQ, invocation_id, ctx->ac.i32_0, ""), 6503);
831 LLVMValueRef rel_patch_id, invocation_id, tf_lds_offset; local in function:si_llvm_emit_tcs_epilogue
836 invocation_id = si_unpack_param(ctx, ctx->args.tcs_rel_ids, 8, 5);
853 values[0] = invocation_id;
855 invocation_id
670 si_write_tess_factors(struct si_shader_context * ctx,LLVMValueRef rel_patch_id,LLVMValueRef invocation_id,LLVMValueRef tcs_out_current_patch_data_offset,LLVMValueRef invoc0_tf_outer[4],LLVMValueRef invoc0_tf_inner[2]) argument
1046 struct ac_arg invocation_id; /* invocation ID within the patch */ local in function:si_llvm_build_tcs_epilog
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/sfn/
H A Dsfn_nir_lower_tess_io.cpp462 auto invocation_id = nir_intrinsic_instr_create(b->shader, nir_intrinsic_load_invocation_id); local in function:r600_append_tcs_TF_emission
463 nir_ssa_dest_init(&invocation_id->instr, &invocation_id->dest,
465 nir_builder_instr_insert(b, &invocation_id->instr);
467 nir_push_if(b, nir_ieq_imm(b, &invocation_id->dest.ssa, 0));
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/gallivm/
H A Dlp_bld_tgsi.h172 LLVMValueRef invocation_id; member in struct:lp_bld_tgsi_system_values
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/gallivm/
H A Dlp_bld_tgsi.h175 LLVMValueRef invocation_id; member in struct:lp_bld_tgsi_system_values
H A Dlp_bld_nir_soa.c1588 result[0] = bld->system_values.invocation_id;
1590 result[0] = lp_build_broadcast_scalar(&bld_base->uint_bld, bld->system_values.invocation_id);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/
H A Dswr_shader.cpp958 bld->system_values.invocation_id = wrap((LOAD(unwrap(iface->loop_var))));
961 lp_build_print_value(gallivm, "Prologue LOOP Iteration BEGIN:", bld->system_values.invocation_id);
1278 lp_build_print_value(gallivm, "[TCS OUT][VTX] invocation_id: ", bld->system_values.invocation_id);
1287 VEXTRACT(unwrap(bld->system_values.invocation_id), C(0)),
1336 bld->system_values.invocation_id = wrap((LOAD(unwrap(iface->loop_var))));
1340 lp_build_print_value(gallivm, "Barrier LOOP: InvocationId: \n", bld->system_values.invocation_id);
1590 system_values.invocation_id = wrap(LOAD(pGsCtx, {0, SWR_GS_CONTEXT_InstanceID}));
2122 system_values.invocation_id = wrap(VBROADCAST(C(0)));
2127 lp_build_print_value(gallivm, "TCS::invocation_id
[all...]
/xsrc/external/mit/MesaLib/dist/src/amd/common/
H A Dac_nir_lower_tess_io_to_mem.c510 nir_ssa_def *invocation_id = nir_build_load_invocation_id(b); local in function:hs_emit_write_tess_factors
513 nir_if *invocation_id_zero = nir_push_if(b, nir_ieq_imm(b, invocation_id, 0));
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/zink/
H A Dzink_compiler.c1566 nir_ssa_def *invocation_id = nir_load_invocation_id(&b); local in function:zink_shader_tcs_create
1591 nir_if *start_block = nir_push_if(&b, nir_ieq(&b, invocation_id, nir_imm_int(&b, i)));
1592 nir_deref_instr *in_array_var = nir_build_deref_array(&b, nir_build_deref_var(&b, in), invocation_id);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/radeonsi/
H A Dsi_shader.c3027 LLVMValueRef invocation_id, buffer, buffer_offset; local in function:si_copy_tcs_inputs
3031 invocation_id = unpack_llvm_param(ctx, ctx->abi.tcs_rel_ids, 8, 5);
3037 lds_base = ac_build_imad(&ctx->ac, invocation_id, lds_vertex_stride,
3050 invocation_id,
3063 LLVMValueRef invocation_id,
3088 invocation_id, ctx->i32_0, ""));
3275 LLVMValueRef rel_patch_id, invocation_id, tf_lds_offset; local in function:si_llvm_emit_tcs_epilogue
3280 invocation_id = unpack_llvm_param(ctx, ctx->abi.tcs_rel_ids, 8, 5);
3300 values[0] = invocation_id;
3302 invocation_id
3061 si_write_tess_factors(struct lp_build_tgsi_context * bld_base,LLVMValueRef rel_patch_id,LLVMValueRef invocation_id,LLVMValueRef tcs_out_current_patch_data_offset,LLVMValueRef invoc0_tf_outer[4],LLVMValueRef invoc0_tf_inner[2]) argument
[all...]

Completed in 66 milliseconds

12