Home
last modified time | relevance | path

Searched refs:emit (Results 1 - 25 of 643) sorted by relevance

12345678910>>...26

/third_party/mesa3d/src/gallium/drivers/svga/
H A Dsvga_tgsi_vgpu10.c78 * generate extra code to emit clip distances.
490 static void emit_tcs_input_declarations(struct svga_shader_emitter_v10 *emit);
491 static void emit_tcs_output_declarations(struct svga_shader_emitter_v10 *emit);
492 static boolean emit_temporaries_declaration(struct svga_shader_emitter_v10 *emit);
493 static boolean emit_constant_declaration(struct svga_shader_emitter_v10 *emit);
494 static boolean emit_sampler_declarations(struct svga_shader_emitter_v10 *emit);
495 static boolean emit_resource_declarations(struct svga_shader_emitter_v10 *emit);
496 static boolean emit_vgpu10_immediates_block(struct svga_shader_emitter_v10 *emit);
497 static boolean emit_index_range_declaration(struct svga_shader_emitter_v10 *emit);
498 static void emit_image_declarations(struct svga_shader_emitter_v10 *emit);
538 expand(struct svga_shader_emitter_v10 *emit) expand() argument
567 struct svga_shader_emitter_v10 *emit = CALLOC(1, sizeof(*emit)); alloc_emitter() local
585 free_emitter(struct svga_shader_emitter_v10 *emit) free_emitter() argument
593 reserve(struct svga_shader_emitter_v10 *emit, unsigned nr_dwords) reserve() argument
605 emit_dword(struct svga_shader_emitter_v10 *emit, uint32 dword) emit_dword() argument
616 emit_dwords(struct svga_shader_emitter_v10 *emit, const uint32 *dwords, unsigned nr) emit_dwords() argument
630 emit_get_num_tokens(const struct svga_shader_emitter_v10 *emit) emit_get_num_tokens() argument
645 check_register_index(struct svga_shader_emitter_v10 *emit, unsigned operandType, unsigned index) check_register_index() argument
751 determine_clipping_mode(struct svga_shader_emitter_v10 *emit) determine_clipping_mode() argument
806 apply_clip_plane_mask(struct svga_shader_emitter_v10 *emit, unsigned writemask, unsigned clip_reg_index) apply_clip_plane_mask() argument
1117 emit_null_dst_register(struct svga_shader_emitter_v10 *emit) emit_null_dst_register() argument
1134 get_temp_array_id(const struct svga_shader_emitter_v10 *emit, enum tgsi_file_type file, unsigned index) get_temp_array_id() argument
1151 remap_temp_index(const struct svga_shader_emitter_v10 *emit, enum tgsi_file_type file, unsigned index) remap_temp_index() argument
1172 setup_operand0_indexing(struct svga_shader_emitter_v10 *emit, VGPU10OperandToken0 operand0, enum tgsi_file_type file, boolean indirect, boolean index2D, bool indirect2D) setup_operand0_indexing() argument
1236 emit_indirect_register(struct svga_shader_emitter_v10 *emit, unsigned addr_reg_index) emit_indirect_register() argument
1269 emit_dst_register(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_dst_register *reg) emit_dst_register() argument
1529 need_temp_reg_initialization(struct svga_shader_emitter_v10 *emit, unsigned index) need_temp_reg_initialization() argument
1551 emit_src_register(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_src_register *reg) emit_src_register() argument
2015 emit_resource_register(struct svga_shader_emitter_v10 *emit, unsigned resource_number) emit_resource_register() argument
2043 emit_sampler_register(struct svga_shader_emitter_v10 *emit, unsigned unit) emit_sampler_register() argument
2071 emit_face_register(struct svga_shader_emitter_v10 *emit) emit_face_register() argument
2099 emit_rasterizer_register(struct svga_shader_emitter_v10 *emit) emit_rasterizer_register() argument
2125 emit_stream_register(struct svga_shader_emitter_v10 *emit, unsigned index) emit_stream_register() argument
2147 emit_opcode_precise(struct svga_shader_emitter_v10 *emit, unsigned vgpu10_opcode, boolean saturate, boolean precise) emit_opcode_precise() argument
2173 emit_opcode(struct svga_shader_emitter_v10 *emit, unsigned vgpu10_opcode, boolean saturate) emit_opcode() argument
2187 emit_opcode_resinfo(struct svga_shader_emitter_v10 *emit, VGPU10_RESINFO_RETURN_TYPE modifier) emit_opcode_resinfo() argument
2207 emit_sample_opcode(struct svga_shader_emitter_v10 *emit, unsigned vgpu10_opcode, boolean saturate, const int offsets[3]) emit_sample_opcode() argument
2248 emit_discard_opcode(struct svga_shader_emitter_v10 *emit, boolean nonzero) emit_discard_opcode() argument
2265 begin_emit_instruction(struct svga_shader_emitter_v10 *emit) begin_emit_instruction() argument
2281 end_emit_instruction(struct svga_shader_emitter_v10 *emit) end_emit_instruction() argument
2314 get_temp_index(struct svga_shader_emitter_v10 *emit) get_temp_index() argument
2325 free_temp_indexes(struct svga_shader_emitter_v10 *emit) free_temp_indexes() argument
2562 find_immediate(struct svga_shader_emitter_v10 *emit, union tgsi_immediate_data x, unsigned startIndex) find_immediate() argument
2589 find_immediate_dbl(struct svga_shader_emitter_v10 *emit, double x, double y) find_immediate_dbl() argument
2619 make_immediate_reg_4(struct svga_shader_emitter_v10 *emit, const union tgsi_immediate_data imm[4]) make_immediate_reg_4() argument
2667 make_immediate_reg(struct svga_shader_emitter_v10 *emit, union tgsi_immediate_data value) make_immediate_reg() argument
2692 make_immediate_reg_float4(struct svga_shader_emitter_v10 *emit, float x, float y, float z, float w) make_immediate_reg_float4() argument
2710 make_immediate_reg_float(struct svga_shader_emitter_v10 *emit, float value) make_immediate_reg_float() argument
2722 make_immediate_reg_int4(struct svga_shader_emitter_v10 *emit, int x, int y, int z, int w) make_immediate_reg_int4() argument
2740 make_immediate_reg_int(struct svga_shader_emitter_v10 *emit, int value) make_immediate_reg_int() argument
2749 make_immediate_reg_double(struct svga_shader_emitter_v10 *emit, double value) make_immediate_reg_double() argument
2773 alloc_immediate_4(struct svga_shader_emitter_v10 *emit, const union tgsi_immediate_data imm[4]) alloc_immediate_4() argument
2792 alloc_immediate_float4(struct svga_shader_emitter_v10 *emit, float x, float y, float z, float w) alloc_immediate_float4() argument
2809 alloc_immediate_int4(struct svga_shader_emitter_v10 *emit, int x, int y, int z, int w) alloc_immediate_int4() argument
2822 alloc_immediate_double2(struct svga_shader_emitter_v10 *emit, double x, double y) alloc_immediate_double2() argument
2839 alloc_system_value_index(struct svga_shader_emitter_v10 *emit, unsigned index) alloc_system_value_index() argument
2852 emit_vgpu10_immediate(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_immediate *imm) emit_vgpu10_immediate() argument
2869 emit_vgpu10_immediates_block(struct svga_shader_emitter_v10 *emit) emit_vgpu10_immediates_block() argument
2896 translate_interpolation(const struct svga_shader_emitter_v10 *emit, enum tgsi_interpolate_mode interp, enum tgsi_interpolate_loc interpolate_loc) translate_interpolation() argument
2942 emit_vgpu10_property(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_property *prop) emit_vgpu10_property() argument
3064 emit_property_instruction(struct svga_shader_emitter_v10 *emit, VGPU10OpcodeToken0 opcode0, unsigned nData, unsigned data) emit_property_instruction() argument
3080 emit_property_instructions(struct svga_shader_emitter_v10 *emit) emit_property_instructions() argument
3110 emit_tessellator_domain(struct svga_shader_emitter_v10 *emit, enum pipe_prim_type prim_mode) emit_tessellator_domain() argument
3139 emit_domain_shader_declarations(struct svga_shader_emitter_v10 *emit) emit_domain_shader_declarations() argument
3172 alloc_common_immediates(struct svga_shader_emitter_v10 *emit) alloc_common_immediates() argument
3290 emit_hull_shader_declarations(struct svga_shader_emitter_v10 *emit) emit_hull_shader_declarations() argument
3396 needs_control_point_phase(struct svga_shader_emitter_v10 *emit) needs_control_point_phase() argument
3430 emit_passthrough_control_point_signature(struct svga_shader_emitter_v10 *emit) emit_passthrough_control_point_signature() argument
3464 emit_control_point_phase_instruction(struct svga_shader_emitter_v10 *emit) emit_control_point_phase_instruction() argument
3480 emit_hull_shader_control_point_phase(struct svga_shader_emitter_v10 *emit) emit_hull_shader_control_point_phase() argument
3552 emit_hull_shader_patch_constant_phase(struct svga_shader_emitter_v10 *emit, struct tgsi_parse_context *parse) emit_hull_shader_patch_constant_phase() argument
3643 emit_compute_shader_declarations(struct svga_shader_emitter_v10 *emit) emit_compute_shader_declarations() argument
3662 emit_index_range_declaration(struct svga_shader_emitter_v10 *emit) emit_index_range_declaration() argument
3727 emit_decl_instruction(struct svga_shader_emitter_v10 *emit, VGPU10OpcodeToken0 opcode0, VGPU10OperandToken0 operand0, VGPU10NameToken name_token, unsigned index, unsigned size) emit_decl_instruction() argument
3786 emit_input_declaration(struct svga_shader_emitter_v10 *emit, VGPU10_OPCODE_TYPE opcodeType, VGPU10_OPERAND_TYPE operandType, VGPU10_OPERAND_INDEX_DIMENSION dim, unsigned index, unsigned size, VGPU10_SYSTEM_NAME name, VGPU10_OPERAND_NUM_COMPONENTS numComp, VGPU10_OPERAND_4_COMPONENT_SELECTION_MODE selMode, unsigned usageMask, VGPU10_INTERPOLATION_MODE interpMode, boolean addSignature, SVGA3dDXSignatureSemanticName sgnName) emit_input_declaration() argument
3946 emit_output_declaration(struct svga_shader_emitter_v10 *emit, VGPU10_OPCODE_TYPE type, unsigned index, VGPU10_SYSTEM_NAME name, unsigned writemask, boolean addSignature, SVGA3dDXSignatureSemanticName sgnName) emit_output_declaration() argument
4043 emit_fragdepth_output_declaration(struct svga_shader_emitter_v10 *emit) emit_fragdepth_output_declaration() argument
4067 emit_samplemask_output_declaration(struct svga_shader_emitter_v10 *emit) emit_samplemask_output_declaration() argument
4092 emit_fs_output_declarations(struct svga_shader_emitter_v10 *emit) emit_fs_output_declarations() argument
4162 emit_vertex_output_declaration(struct svga_shader_emitter_v10 *emit, unsigned index, unsigned writemask, boolean addSignature) emit_vertex_output_declaration() argument
4223 emit_vs_output_declarations(struct svga_shader_emitter_v10 *emit) emit_vs_output_declarations() argument
4256 emit_gs_output_declarations(struct svga_shader_emitter_v10 *emit) emit_gs_output_declarations() argument
4368 emit_tesslevel_declaration(struct svga_shader_emitter_v10 *emit, unsigned index, unsigned opcodeType, unsigned operandType, VGPU10_SYSTEM_NAME name, SVGA3dDXSignatureSemanticName sgnName) emit_tesslevel_declaration() argument
4414 emit_tcs_output_declarations(struct svga_shader_emitter_v10 *emit) emit_tcs_output_declarations() argument
4632 emit_tes_output_declarations(struct svga_shader_emitter_v10 *emit) emit_tes_output_declarations() argument
4646 emit_system_value_declaration(struct svga_shader_emitter_v10 *emit, enum tgsi_semantic semantic_name, unsigned index) emit_system_value_declaration() argument
4856 emit_vgpu10_declaration(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_declaration *decl) emit_vgpu10_declaration() argument
5007 emit_fs_input_declarations(struct svga_shader_emitter_v10 *emit) emit_fs_input_declarations() argument
5105 emit_vs_input_declarations(struct svga_shader_emitter_v10 *emit) emit_vs_input_declarations() argument
5133 emit_gs_input_declarations(struct svga_shader_emitter_v10 *emit) emit_gs_input_declarations() argument
5195 emit_tcs_input_declarations(struct svga_shader_emitter_v10 *emit) emit_tcs_input_declarations() argument
5264 emit_tessfactor_input_declarations(struct svga_shader_emitter_v10 *emit) emit_tessfactor_input_declarations() argument
5344 emit_tes_input_declarations(struct svga_shader_emitter_v10 *emit) emit_tes_input_declarations() argument
5439 emit_input_declarations(struct svga_shader_emitter_v10 *emit) emit_input_declarations() argument
5479 emit_output_declarations(struct svga_shader_emitter_v10 *emit) emit_output_declarations() argument
5564 create_temp_array(struct svga_shader_emitter_v10 *emit, unsigned arrayID, unsigned first, unsigned count, unsigned startIndex) create_temp_array() argument
5589 emit_temporaries_declaration(struct svga_shader_emitter_v10 *emit) emit_temporaries_declaration() argument
5861 emit_constant_declaration(struct svga_shader_emitter_v10 *emit) emit_constant_declaration() argument
6004 emit_sampler_declarations(struct svga_shader_emitter_v10 *emit) emit_sampler_declarations() argument
6169 emit_resource_declarations(struct svga_shader_emitter_v10 *emit) emit_resource_declarations() argument
6256 emit_image_declarations(struct svga_shader_emitter_v10 *emit) emit_image_declarations() argument
6331 emit_shader_buf_declarations(struct svga_shader_emitter_v10 *emit) emit_shader_buf_declarations() argument
6381 emit_memory_declarations(struct svga_shader_emitter_v10 *emit) emit_memory_declarations() argument
6420 emit_atomic_buf_declarations(struct svga_shader_emitter_v10 *emit) emit_atomic_buf_declarations() argument
6487 emit_instruction_opn(struct svga_shader_emitter_v10 *emit, unsigned opcode, const struct tgsi_full_dst_register *dst, const struct tgsi_full_src_register *src1, const struct tgsi_full_src_register *src2, const struct tgsi_full_src_register *src3, boolean saturate, bool precise) emit_instruction_opn() argument
6509 emit_instruction_op1(struct svga_shader_emitter_v10 *emit, unsigned opcode, const struct tgsi_full_dst_register *dst, const struct tgsi_full_src_register *src) emit_instruction_op1() argument
6518 emit_instruction_op2(struct svga_shader_emitter_v10 *emit, VGPU10_OPCODE_TYPE opcode, const struct tgsi_full_dst_register *dst, const struct tgsi_full_src_register *src1, const struct tgsi_full_src_register *src2) emit_instruction_op2() argument
6528 emit_instruction_op3(struct svga_shader_emitter_v10 *emit, VGPU10_OPCODE_TYPE opcode, const struct tgsi_full_dst_register *dst, const struct tgsi_full_src_register *src1, const struct tgsi_full_src_register *src2, const struct tgsi_full_src_register *src3) emit_instruction_op3() argument
6539 emit_instruction_op0(struct svga_shader_emitter_v10 *emit, VGPU10_OPCODE_TYPE opcode) emit_instruction_op0() argument
6552 store_tesslevels(struct svga_shader_emitter_v10 *emit) store_tesslevels() argument
6649 emit_clip_distance_instructions(struct svga_shader_emitter_v10 *emit) emit_clip_distance_instructions() argument
6712 emit_clip_distance_declarations(struct svga_shader_emitter_v10 *emit) emit_clip_distance_declarations() argument
6768 emit_clip_distance_from_vpos(struct svga_shader_emitter_v10 *emit, unsigned vpos_tmp_index) emit_clip_distance_from_vpos() argument
6808 emit_clip_vertex_instructions(struct svga_shader_emitter_v10 *emit) emit_clip_vertex_instructions() argument
6868 emit_swap_r_b(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_dst_register *dst, const struct tgsi_full_src_register *src) emit_swap_r_b() argument
6885 emit_puint_to_snorm(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_dst_register *dst, const struct tgsi_full_src_register *src) emit_puint_to_snorm() argument
6923 emit_puint_to_uscaled(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_dst_register *dst, const struct tgsi_full_src_register *src) emit_puint_to_uscaled() argument
6937 emit_puint_to_sscaled(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_dst_register *dst, const struct tgsi_full_src_register *src) emit_puint_to_sscaled() argument
6973 emit_arl_uarl(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_instruction *inst) emit_arl_uarl() argument
7007 emit_cal(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_instruction *inst) emit_cal() argument
7028 emit_iabs(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_instruction *inst) emit_iabs() argument
7051 emit_cmp(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_instruction *inst) emit_cmp() argument
7085 emit_dst(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_instruction *inst) emit_dst() argument
7165 find_stream_index(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_src_register *src) find_stream_index() argument
7176 emit_endprim(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_instruction *inst) emit_endprim() argument
7209 emit_ex2(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_instruction *inst) emit_ex2() argument
7237 emit_exp(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_instruction *inst) emit_exp() argument
7324 emit_if(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_src_register *src) emit_if() argument
7356 emit_cond_discard(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_instruction *inst) emit_cond_discard() argument
7409 emit_discard(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_instruction *inst) emit_discard() argument
7428 emit_lg2(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_instruction *inst) emit_lg2() argument
7456 emit_lit(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_instruction *inst) emit_lit() argument
7592 emit_lodq(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_instruction *inst) emit_lodq() argument
7616 emit_log(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_instruction *inst) emit_log() argument
7698 emit_lrp(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_instruction *inst) emit_lrp() argument
7733 emit_pow(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_instruction *inst) emit_pow() argument
7779 emit_rcp(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_instruction *inst) emit_rcp() argument
7834 emit_rsq(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_instruction *inst) emit_rsq() argument
7875 emit_seq(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_instruction *inst) emit_seq() argument
7908 emit_sge(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_instruction *inst) emit_sge() argument
7941 emit_sgt(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_instruction *inst) emit_sgt() argument
7974 emit_sincos(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_instruction *inst) emit_sincos() argument
8017 emit_sle(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_instruction *inst) emit_sle() argument
8050 emit_slt(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_instruction *inst) emit_slt() argument
8083 emit_sne(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_instruction *inst) emit_sne() argument
8116 emit_ssg(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_instruction *inst) emit_ssg() argument
8163 emit_issg(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_instruction *inst) emit_issg() argument
8205 emit_comparison(struct svga_shader_emitter_v10 *emit, SVGA3dCmpFunc func, const struct tgsi_full_dst_register *dst, const struct tgsi_full_src_register *src0, const struct tgsi_full_src_register *src1) emit_comparison() argument
8284 get_texel_offsets(const struct svga_shader_emitter_v10 *emit, const struct tgsi_full_instruction *inst, int offsets[3]) get_texel_offsets() argument
8319 setup_texcoord(struct svga_shader_emitter_v10 *emit, unsigned unit, const struct tgsi_full_src_register *coord) setup_texcoord() argument
8362 emit_tex_compare_refcoord(struct svga_shader_emitter_v10 *emit, enum tgsi_texture_type target, const struct tgsi_full_src_register *coord) emit_tex_compare_refcoord() argument
8409 begin_tex_swizzle(struct svga_shader_emitter_v10 *emit, unsigned unit, const struct tgsi_full_instruction *inst, boolean shadow_compare, struct tex_swizzle_info *swz) begin_tex_swizzle() argument
8458 end_tex_swizzle(struct svga_shader_emitter_v10 *emit, const struct tex_swizzle_info *swz) end_tex_swizzle() argument
8560 emit_sample(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_instruction *inst) emit_sample() argument
8606 is_valid_tex_instruction(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_instruction *inst) is_valid_tex_instruction() argument
8638 emit_tex(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_instruction *inst) emit_tex() argument
8691 emit_tg4(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_instruction *inst) emit_tg4() argument
8863 emit_tex2(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_instruction *inst) emit_tex2() argument
8916 emit_txp(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_instruction *inst) emit_txp() argument
8982 emit_txd(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_instruction *inst) emit_txd() argument
9022 emit_txf(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_instruction *inst) emit_txf() argument
9076 emit_txl_txb(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_instruction *inst) emit_txl_txb() argument
9134 emit_txl2(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_instruction *inst) emit_txl2() argument
9178 emit_txq(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_instruction *inst) emit_txq() argument
9280 check_double_src(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_src_register *reg) check_double_src() argument
9352 emit_dabs(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_instruction *inst) emit_dabs() argument
9374 emit_dneg(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_instruction *inst) emit_dneg() argument
9395 emit_dmad(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_instruction *inst) emit_dmad() argument
9427 emit_drsq(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_dst_register *dst, const struct tgsi_full_src_register *src) emit_drsq() argument
9458 emit_dsqrt(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_instruction *inst) emit_dsqrt() argument
9527 emit_dtrunc(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_instruction *inst) emit_dtrunc() argument
9607 emit_interp_offset(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_instruction *inst) emit_interp_offset() argument
9646 emit_simple(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_instruction *inst) emit_simple() argument
9700 emit_msb(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_instruction *inst) emit_msb() argument
9768 emit_bfe(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_instruction *inst) emit_bfe() argument
9839 emit_bfi(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_instruction *inst) emit_bfi() argument
9912 emit_mov(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_instruction *inst) emit_mov() argument
9935 emit_simple_1dst(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_instruction *inst, unsigned dst_count, unsigned dst_index) emit_simple_1dst() argument
9968 emit_vmware(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_instruction *inst, VGPU10_VMWARE_OPCODE_TYPE subopcode) emit_vmware() argument
10029 emit_memory_register(struct svga_shader_emitter_v10 *emit, memory_op mem_op, const struct tgsi_full_instruction *inst, unsigned regIndex, unsigned writemask) emit_memory_register() argument
10097 emit_uav_register(struct svga_shader_emitter_v10 *emit, unsigned res_index, UAV_OP uav_op, enum tgsi_file_type resourceType, unsigned writemask) emit_uav_register() argument
10162 emit_uav_addr_offset(struct svga_shader_emitter_v10 *emit, enum tgsi_file_type resourceType, unsigned resourceIndex, unsigned resourceIndirect, unsigned resourceIndirectIndex, const struct tgsi_full_src_register *addr_reg) emit_uav_addr_offset() argument
10260 loop_instruction(unsigned index, unsigned count, struct tgsi_full_src_register *addr_index, void (*fb)(struct svga_shader_emitter_v10 *, const struct tgsi_full_instruction *, unsigned), struct svga_shader_emitter_v10 *emit, const struct tgsi_full_instruction *inst) loop_instruction() argument
10306 emit_load_instruction(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_instruction *inst, unsigned resourceIndex) emit_load_instruction() argument
10361 emit_load(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_instruction *inst) emit_load() argument
10414 emit_store_instruction(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_instruction *inst, unsigned resourceIndex) emit_store_instruction() argument
10582 emit_store(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_instruction *inst) emit_store() argument
10636 emit_atomic_instruction(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_instruction *inst, unsigned resourceIndex) emit_atomic_instruction() argument
10703 emit_atomic(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_instruction *inst, VGPU10_OPCODE_TYPE opcode) emit_atomic() argument
10749 emit_barrier(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_instruction *inst) emit_barrier() argument
10794 emit_memory_barrier(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_instruction *inst) emit_memory_barrier() argument
10850 emit_resq(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_instruction *inst) emit_resq() argument
10886 emit_instruction(struct svga_shader_emitter_v10 *emit, unsigned inst_number, const struct tgsi_full_instruction *inst) emit_instruction() argument
11197 emit_vgpu10_instruction(struct svga_shader_emitter_v10 *emit, unsigned inst_number, const struct tgsi_full_instruction *inst) emit_vgpu10_instruction() argument
11234 emit_vpos_instructions(struct svga_shader_emitter_v10 *emit) emit_vpos_instructions() argument
11368 emit_clipping_instructions(struct svga_shader_emitter_v10 *emit) emit_clipping_instructions() argument
11409 emit_vertex_instructions(struct svga_shader_emitter_v10 *emit) emit_vertex_instructions() argument
11423 emit_vertex(struct svga_shader_emitter_v10 *emit, const struct tgsi_full_instruction *inst) emit_vertex() argument
11503 emit_frontface_instructions(struct svga_shader_emitter_v10 *emit) emit_frontface_instructions() argument
11532 emit_fragcoord_instructions(struct svga_shader_emitter_v10 *emit) emit_fragcoord_instructions() argument
11579 emit_sample_position_instructions(struct svga_shader_emitter_v10 *emit) emit_sample_position_instructions() argument
11629 emit_vertex_attrib_instructions(struct svga_shader_emitter_v10 *emit) emit_vertex_attrib_instructions() argument
11737 emit_default_layer_instructions(struct svga_shader_emitter_v10 *emit) emit_default_layer_instructions() argument
11751 emit_temp_prescale_from_cbuf(struct svga_shader_emitter_v10 *emit, unsigned cbuf_index, struct tgsi_full_dst_register *scale, struct tgsi_full_dst_register *translate) emit_temp_prescale_from_cbuf() argument
11768 find_prescale_from_cbuf(struct svga_shader_emitter_v10 *emit, unsigned index, unsigned num_prescale, struct tgsi_full_src_register *vp_index, struct tgsi_full_dst_register *scale, struct tgsi_full_dst_register *translate, struct tgsi_full_src_register *tmp_src, struct tgsi_full_dst_register *tmp_dst) find_prescale_from_cbuf() argument
11818 emit_temp_prescale_instructions(struct svga_shader_emitter_v10 *emit) emit_temp_prescale_instructions() argument
11867 emit_vertex_id_nobase_instruction(struct svga_shader_emitter_v10 *emit) emit_vertex_id_nobase_instruction() argument
11897 emit_tcs_default_control_point_output(struct svga_shader_emitter_v10 *emit) emit_tcs_default_control_point_output() argument
11967 emit_temp_tessfactor_instructions(struct svga_shader_emitter_v10 *emit) emit_temp_tessfactor_instructions() argument
12040 emit_initialize_temp_instruction(struct svga_shader_emitter_v10 *emit) emit_initialize_temp_instruction() argument
12059 emit_pre_helpers(struct svga_shader_emitter_v10 *emit) emit_pre_helpers() argument
12201 emit_alpha_to_one_instructions(struct svga_shader_emitter_v10 *emit, unsigned fs_color_tmp_index) emit_alpha_to_one_instructions() argument
12236 emit_alpha_test_instructions(struct svga_shader_emitter_v10 *emit, unsigned fs_color_tmp_index) emit_alpha_test_instructions() argument
12289 emit_broadcast_color_instructions(struct svga_shader_emitter_v10 *emit, unsigned fs_color_tmp_index) emit_broadcast_color_instructions() argument
12331 emit_post_helpers(struct svga_shader_emitter_v10 *emit) emit_post_helpers() argument
12379 emit_rawbuf_instruction(struct svga_shader_emitter_v10 *emit, unsigned inst_number, const struct tgsi_full_instruction *inst) emit_rawbuf_instruction() argument
12466 emit_vgpu10_instructions(struct svga_shader_emitter_v10 *emit, const struct tgsi_token *tokens) emit_vgpu10_instructions() argument
12556 emit_vgpu10_header(struct svga_shader_emitter_v10 *emit) emit_vgpu10_header() argument
12622 emit_vgpu10_tail(struct svga_shader_emitter_v10 *emit) emit_vgpu10_tail() argument
12677 transform_fs_pstipple(struct svga_shader_emitter_v10 *emit, const struct tgsi_token *tokens) transform_fs_pstipple() argument
12743 compute_input_mapping(struct svga_context *svga, struct svga_shader_emitter_v10 *emit, enum pipe_shader_type unit) compute_input_mapping() argument
12839 struct svga_shader_emitter_v10 *emit; svga_tgsi_vgpu10_translate() local
[all...]
H A Dsvga_tgsi_decl_sm30.c39 translate_vs_ps_semantic(struct svga_shader_emitter *emit, in translate_vs_ps_semantic() argument
67 *idx = svga_remap_generic_index(emit->key.generic_remap_table, in translate_vs_ps_semantic()
96 * index = 3, we'll emit "dcl_texcoord3 v1".
99 emit_decl(struct svga_shader_emitter *emit, in emit_decl() argument
120 return (emit_instruction(emit, opcode) && in emit_decl()
121 svga_shader_emit_dwords(emit, dcl.values, ARRAY_SIZE(dcl.values))); in emit_decl()
129 emit_vface_decl(struct svga_shader_emitter *emit) in emit_vface_decl() argument
131 if (!emit->emitted_vface) { in emit_vface_decl()
135 if (!emit_decl(emit, reg, 0, 0)) in emit_vface_decl()
138 emit in emit_vface_decl()
149 ps30_input_emit_depth_fog(struct svga_shader_emitter *emit, struct src_register *out) ps30_input_emit_depth_fog() argument
178 ps30_input(struct svga_shader_emitter *emit, struct tgsi_declaration_semantic semantic, unsigned idx) ps30_input() argument
327 ps30_output(struct svga_shader_emitter *emit, struct tgsi_declaration_semantic semantic, unsigned idx) ps30_output() argument
391 vs30_input(struct svga_shader_emitter *emit, struct tgsi_declaration_semantic semantic, unsigned idx) vs30_input() argument
423 vs30_output_emit_depth_fog(struct svga_shader_emitter *emit, SVGA3dShaderDestToken *out) vs30_output_emit_depth_fog() argument
449 vs30_output(struct svga_shader_emitter *emit, struct tgsi_declaration_semantic semantic, unsigned idx) vs30_output() argument
520 svga_tgsi_sampler_type(const struct svga_shader_emitter *emit, int idx) svga_tgsi_sampler_type() argument
541 ps30_sampler(struct svga_shader_emitter *emit, unsigned idx) ps30_sampler() argument
561 svga_shader_emit_samplers_decl(struct svga_shader_emitter *emit) svga_shader_emit_samplers_decl() argument
574 svga_translate_decl_sm30(struct svga_shader_emitter *emit, const struct tgsi_full_declaration *decl) svga_translate_decl_sm30() argument
[all...]
H A Dsvga_tgsi_insn.c38 static boolean emit_vs_postamble( struct svga_shader_emitter *emit );
39 static boolean emit_ps_postamble( struct svga_shader_emitter *emit );
87 translate_dst_register( struct svga_shader_emitter *emit, in translate_dst_register() argument
99 dest = emit->output_map[reg->Register.Index]; in translate_dst_register()
100 emit->num_output_writes++; in translate_dst_register()
165 svga_arl_needs_adjustment( const struct svga_shader_emitter *emit ) in svga_arl_needs_adjustment()
169 for (i = 0; i < emit->num_arl_consts; ++i) { in svga_arl_needs_adjustment()
170 if (emit->arl_consts[i].arl_num == emit->current_arl) in svga_arl_needs_adjustment()
178 svga_arl_adjustment( const struct svga_shader_emitter *emit ) in svga_arl_adjustment()
194 translate_src_register( const struct svga_shader_emitter *emit, const struct tgsi_full_src_register *reg ) translate_src_register() argument
301 release_temp( struct svga_shader_emitter *emit, SVGA3dShaderDestToken temp ) release_temp() argument
313 reset_temp_regs(struct svga_shader_emitter *emit) reset_temp_regs() argument
321 emit_src(struct svga_shader_emitter *emit, const struct src_register src) emit_src() argument
338 emit_dst(struct svga_shader_emitter *emit, SVGA3dShaderDestToken dest) emit_dst() argument
348 emit_op1(struct svga_shader_emitter *emit, SVGA3dShaderInstToken inst, SVGA3dShaderDestToken dest, struct src_register src0) emit_op1() argument
361 emit_op2(struct svga_shader_emitter *emit, SVGA3dShaderInstToken inst, SVGA3dShaderDestToken dest, struct src_register src0, struct src_register src1) emit_op2() argument
376 emit_op3(struct svga_shader_emitter *emit, SVGA3dShaderInstToken inst, SVGA3dShaderDestToken dest, struct src_register src0, struct src_register src1, struct src_register src2) emit_op3() argument
393 emit_op4(struct svga_shader_emitter *emit, SVGA3dShaderInstToken inst, SVGA3dShaderDestToken dest, struct src_register src0, struct src_register src1, struct src_register src2, struct src_register src3) emit_op4() argument
454 emit_repl(struct svga_shader_emitter *emit, SVGA3dShaderDestToken dst, struct src_register *src0) emit_repl() argument
488 submit_op0(struct svga_shader_emitter *emit, SVGA3dShaderInstToken inst, SVGA3dShaderDestToken dest) submit_op0() argument
501 submit_op1(struct svga_shader_emitter *emit, SVGA3dShaderInstToken inst, SVGA3dShaderDestToken dest, struct src_register src0) submit_op1() argument
521 submit_op2(struct svga_shader_emitter *emit, SVGA3dShaderInstToken inst, SVGA3dShaderDestToken dest, struct src_register src0, struct src_register src1) submit_op2() argument
570 submit_op3(struct svga_shader_emitter *emit, SVGA3dShaderInstToken inst, SVGA3dShaderDestToken dest, struct src_register src0, struct src_register src1, struct src_register src2) submit_op3() argument
642 submit_op4(struct svga_shader_emitter *emit, SVGA3dShaderInstToken inst, SVGA3dShaderDestToken dest, struct src_register src0, struct src_register src1, struct src_register src2, struct src_register src3) submit_op4() argument
736 emit_def_const(struct svga_shader_emitter *emit, SVGA3dShaderConstType type, unsigned idx, float a, float b, float c, float d) emit_def_const() argument
905 get_immediate(struct svga_shader_emitter *emit, float x, float y, float z, float w) get_immediate() argument
1011 get_tex_dimensions( struct svga_shader_emitter *emit, int sampler_num ) get_tex_dimensions() argument
1026 emit_fake_arl(struct svga_shader_emitter *emit, const struct tgsi_full_instruction *insn) emit_fake_arl() argument
1052 emit_if(struct svga_shader_emitter *emit, const struct tgsi_full_instruction *insn) emit_if() argument
1083 emit_else(struct svga_shader_emitter *emit, const struct tgsi_full_instruction *insn) emit_else() argument
1091 emit_endif(struct svga_shader_emitter *emit, const struct tgsi_full_instruction *insn) emit_endif() argument
1108 emit_floor(struct svga_shader_emitter *emit, const struct tgsi_full_instruction *insn ) emit_floor() argument
1137 emit_ceil(struct svga_shader_emitter *emit, const struct tgsi_full_instruction *insn) emit_ceil() argument
1166 emit_div(struct svga_shader_emitter *emit, const struct tgsi_full_instruction *insn ) emit_div() argument
1210 emit_dp2(struct svga_shader_emitter *emit, const struct tgsi_full_instruction *insn ) emit_dp2() argument
1241 do_emit_sincos(struct svga_shader_emitter *emit, SVGA3dShaderDestToken dst, struct src_register src0) do_emit_sincos() argument
1256 emit_sin(struct svga_shader_emitter *emit, const struct tgsi_full_instruction *insn ) emit_sin() argument
1284 emit_cos(struct svga_shader_emitter *emit, const struct tgsi_full_instruction *insn) emit_cos() argument
1310 emit_ssg(struct svga_shader_emitter *emit, const struct tgsi_full_instruction *insn) emit_ssg() argument
1351 emit_cond_discard(struct svga_shader_emitter *emit, const struct tgsi_full_instruction *insn) emit_cond_discard() argument
1395 emit_discard(struct svga_shader_emitter *emit, const struct tgsi_full_instruction *insn) emit_discard() argument
1436 emit_conditional(struct svga_shader_emitter *emit, enum pipe_compare_func compare_func, SVGA3dShaderDestToken dst, struct src_register src0, struct src_register src1, struct src_register pass, struct src_register fail) emit_conditional() argument
1517 emit_select(struct svga_shader_emitter *emit, enum pipe_compare_func compare_func, SVGA3dShaderDestToken dst, struct src_register src0, struct src_register src1 ) emit_select() argument
1558 emit_select_op(struct svga_shader_emitter *emit, unsigned compare, const struct tgsi_full_instruction *insn) emit_select_op() argument
1577 emit_cmp(struct svga_shader_emitter *emit, const struct tgsi_full_instruction *insn) emit_cmp() argument
1612 emit_tex2(struct svga_shader_emitter *emit, const struct tgsi_full_instruction *insn, SVGA3dShaderDestToken dst) emit_tex2() argument
1697 emit_tex4(struct svga_shader_emitter *emit, const struct tgsi_full_instruction *insn, SVGA3dShaderDestToken dst ) emit_tex4() argument
1732 emit_tex_swizzle(struct svga_shader_emitter *emit, SVGA3dShaderDestToken dst, struct src_register src, unsigned swizzle_x, unsigned swizzle_y, unsigned swizzle_z, unsigned swizzle_w) emit_tex_swizzle() argument
1800 emit_tex(struct svga_shader_emitter *emit, const struct tgsi_full_instruction *insn) emit_tex() argument
1925 emit_bgnloop(struct svga_shader_emitter *emit, const struct tgsi_full_instruction *insn) emit_bgnloop() argument
1941 emit_endloop(struct svga_shader_emitter *emit, const struct tgsi_full_instruction *insn) emit_endloop() argument
1956 emit_brk(struct svga_shader_emitter *emit, const struct tgsi_full_instruction *insn) emit_brk() argument
1969 emit_scalar_op1(struct svga_shader_emitter *emit, SVGA3dShaderOpCodeType opcode, const struct tgsi_full_instruction *insn) emit_scalar_op1() argument
1991 emit_simple_instruction(struct svga_shader_emitter *emit, SVGA3dShaderOpCodeType opcode, const struct tgsi_full_instruction *insn) emit_simple_instruction() argument
2029 emit_mov(struct svga_shader_emitter *emit, const struct tgsi_full_instruction *insn) emit_mov() argument
2057 emit_sqrt(struct svga_shader_emitter *emit, const struct tgsi_full_instruction *insn) emit_sqrt() argument
2118 emit_deriv(struct svga_shader_emitter *emit, const struct tgsi_full_instruction *insn ) emit_deriv() argument
2181 emit_arl(struct svga_shader_emitter *emit, const struct tgsi_full_instruction *insn) emit_arl() argument
2203 emit_pow(struct svga_shader_emitter *emit, const struct tgsi_full_instruction *insn) emit_pow() argument
2245 submit_lrp(struct svga_shader_emitter *emit, SVGA3dShaderDestToken dst, struct src_register src0, struct src_register src1, struct src_register src2) submit_lrp() argument
2284 emit_lrp(struct svga_shader_emitter *emit, const struct tgsi_full_instruction *insn) emit_lrp() argument
2302 emit_dst_insn(struct svga_shader_emitter *emit, const struct tgsi_full_instruction *insn) emit_dst_insn() argument
2379 emit_exp(struct svga_shader_emitter *emit, const struct tgsi_full_instruction *insn) emit_exp() argument
2447 emit_lit(struct svga_shader_emitter *emit, const struct tgsi_full_instruction *insn) emit_lit() argument
2546 emit_ex2(struct svga_shader_emitter *emit, const struct tgsi_full_instruction *insn) emit_ex2() argument
2574 emit_log(struct svga_shader_emitter *emit, const struct tgsi_full_instruction *insn) emit_log() argument
2685 emit_trunc_round(struct svga_shader_emitter *emit, const struct tgsi_full_instruction *insn, boolean round) emit_trunc_round() argument
2757 emit_bgnsub(struct svga_shader_emitter *emit, unsigned position, const struct tgsi_full_instruction *insn) emit_bgnsub() argument
2786 emit_call(struct svga_shader_emitter *emit, const struct tgsi_full_instruction *insn) emit_call() argument
2815 emit_end(struct svga_shader_emitter *emit) emit_end() argument
2830 svga_emit_instruction(struct svga_shader_emitter *emit, unsigned position, const struct tgsi_full_instruction *insn) svga_emit_instruction() argument
3015 svga_emit_immediate(struct svga_shader_emitter *emit, const struct tgsi_full_immediate *imm) svga_emit_immediate() argument
3041 make_immediate(struct svga_shader_emitter *emit, float a, float b, float c, float d, struct src_register *out ) make_immediate() argument
3061 emit_vs_preamble(struct svga_shader_emitter *emit) emit_vs_preamble() argument
3077 emit_ps_preamble(struct svga_shader_emitter *emit) emit_ps_preamble() argument
3117 emit_ps_postamble(struct svga_shader_emitter *emit) emit_ps_postamble() argument
3176 emit_vs_postamble(struct svga_shader_emitter *emit) emit_vs_postamble() argument
3286 emit_light_twoside(struct svga_shader_emitter *emit) emit_light_twoside() argument
3358 emit_frontface(struct svga_shader_emitter *emit) emit_frontface() argument
3400 emit_inverted_texcoords(struct svga_shader_emitter *emit) emit_inverted_texcoords() argument
3442 emit_adjusted_vertex_attribs(struct svga_shader_emitter *emit) emit_adjusted_vertex_attribs() argument
3533 needs_to_create_common_immediate(const struct svga_shader_emitter *emit) needs_to_create_common_immediate() argument
3603 needs_to_create_loop_const(const struct svga_shader_emitter *emit) needs_to_create_loop_const() argument
3610 needs_to_create_arl_consts(const struct svga_shader_emitter *emit) needs_to_create_arl_consts() argument
3617 pre_parse_add_indirect( struct svga_shader_emitter *emit, int num, int current_arl) pre_parse_add_indirect() argument
3640 pre_parse_instruction( struct svga_shader_emitter *emit, const struct tgsi_full_instruction *insn, int current_arl) pre_parse_instruction() argument
3673 pre_parse_tokens( struct svga_shader_emitter *emit, const struct tgsi_token *tokens ) pre_parse_tokens() argument
3706 svga_shader_emit_helpers(struct svga_shader_emitter *emit) svga_shader_emit_helpers() argument
3757 svga_shader_emit_instructions(struct svga_shader_emitter *emit, const struct tgsi_token *tokens) svga_shader_emit_instructions() argument
[all...]
H A Dsvga_tgsi.c55 svga_shader_expand(struct svga_shader_emitter *emit) in svga_shader_expand() argument
58 unsigned newsize = emit->size * 2; in svga_shader_expand()
60 if (emit->buf != err_buf) in svga_shader_expand()
61 new_buf = REALLOC(emit->buf, emit->size, newsize); in svga_shader_expand()
66 emit->ptr = err_buf; in svga_shader_expand()
67 emit->buf = err_buf; in svga_shader_expand()
68 emit->size = sizeof(err_buf); in svga_shader_expand()
72 emit->size = newsize; in svga_shader_expand()
73 emit in svga_shader_expand()
80 reserve(struct svga_shader_emitter *emit, unsigned nr_dwords) reserve() argument
93 svga_shader_emit_dword(struct svga_shader_emitter * emit, unsigned dword) svga_shader_emit_dword() argument
105 svga_shader_emit_dwords(struct svga_shader_emitter * emit, const unsigned *dwords, unsigned nr) svga_shader_emit_dwords() argument
118 svga_shader_emit_opcode(struct svga_shader_emitter * emit, unsigned opcode) svga_shader_emit_opcode() argument
141 svga_shader_emit_header(struct svga_shader_emitter *emit) svga_shader_emit_header() argument
175 struct svga_shader_emitter emit; svga_tgsi_vgpu9_translate() local
[all...]
/third_party/node/deps/v8/src/codegen/x64/
H A Dassembler-x64.cc637 emit(opcode); in arithmetic_op()
648 emit(opcode ^ 0x02); in arithmetic_op()
652 emit(opcode); in arithmetic_op()
662 emit(0x66); in arithmetic_op_16()
664 emit(opcode ^ 0x02); in arithmetic_op_16()
667 emit(0x66); in arithmetic_op_16()
669 emit(opcode); in arithmetic_op_16()
676 emit(0x66); in arithmetic_op_16()
678 emit(opcode); in arithmetic_op_16()
689 emit(opcod in arithmetic_op_8()
[all...]
/third_party/python/Parser/
H A Dasdl_c.py113 def emit(self, s, depth, reflow=True): member in EmitVisitor
219 self.emit(s, depth)
220 self.emit("", depth)
225 self.emit(s, depth)
226 self.emit("", depth)
231 self.emit(s, depth)
232 self.emit("", depth)
249 self.emit("""\
254 self.emit("", depth)
255 self.emit("asdl
276 def emit(s, depth=depth): global() function
409 def emit(s, depth=0, reflow=True): global() function
443 def emit(s, depth=0, reflow=True): global() function
452 def emit(s, depth=0, reflow=True): global() function
1336 def emit(s, d): global() function
[all...]
/third_party/node/test/parallel/
H A Dtest-readline-interface.js83 fi.emit('data', 'a\t');
176 fi.emit('data', 'a');
188 fi.emit('data', expectedLines.join('\r'));
199 fi.emit('data', '\rfoo\r');
211 fi.emit('data', character);
213 fi.emit('data', '\n');
224 fi.emit('data', '\t');
225 fi.emit('data', '\n');
229 // Adding history lines should emit the history event with
239 fi.emit('dat
[all...]
H A Dtest-readline-promises-interface.js153 fi.emit('data', 'a');
165 fi.emit('data', expectedLines.join('\r'));
176 fi.emit('data', '\rfoo\r');
188 fi.emit('data', character);
190 fi.emit('data', '\n');
201 fi.emit('data', '\t');
202 fi.emit('data', '\n');
206 // Adding history lines should emit the history event with
216 fi.emit('data', `${line}\n`);
234 fi.emit('dat
[all...]
/third_party/mesa3d/src/intel/compiler/
H A Dgfx6_gs_visitor.cpp70 emit(MOV(dst_reg(this->vertex_output_offset), brw_imm_ud(0u))); in emit_prolog()
75 vec4_instruction *inst = emit(MOV(dst_reg(MRF, 1), in emit_prolog()
92 emit(MOV(dst_reg(this->first_vertex), brw_imm_ud(URB_WRITE_PRIM_START))); in emit_prolog()
98 emit(MOV(dst_reg(this->prim_count), brw_imm_ud(0u))); in emit_prolog()
109 emit(MOV(dst_reg(this->max_svbi), in emit_prolog()
134 emit(GS_OPCODE_SET_PRIMITIVE_ID, dst_reg(this->primitive_id)); in emit_prolog()
141 this->current_annotation = "gfx6 emit vertex"; in gs_emit_vertex()
158 * not what we want. What we will do instead is emit PSIZ to a in gs_emit_vertex()
168 vec4_instruction *inst = emit(MOV(dst, src_reg(tmp))); in gs_emit_vertex()
172 emit(AD in gs_emit_vertex()
[all...]
H A Dbrw_vec4_nir.cpp102 vec4_instruction *inst = emit(MOV(dst_null_d(), condition)); in nir_emit_if()
107 emit(IF(BRW_PREDICATE_ALIGN16_REPLICATE_X)); in nir_emit_if()
112 emit(BRW_OPCODE_ELSE); in nir_emit_if()
116 emit(BRW_OPCODE_ENDIF); in nir_emit_if()
122 emit(BRW_OPCODE_DO); in nir_emit_loop()
126 emit(BRW_OPCODE_WHILE); in nir_emit_loop()
344 * For now, we emit a MOV for each distinct value. in nir_emit_load_const()
363 emit(MOV(reg, setup_imm_df(ibld, instr->value[i].f64))); in nir_emit_load_const()
365 emit(MOV(reg, brw_imm_d(instr->value[i].i32))); in nir_emit_load_const()
412 emit(MO in nir_emit_intrinsic()
[all...]
/third_party/mesa3d/src/compiler/glsl/
H A Dbuiltin_int64.h16 body.emit(r000E); in udivmod64()
18 body.emit(r000F); in udivmod64()
20 body.emit(r0010); in udivmod64()
22 body.emit(r0011); in udivmod64()
23 body.emit(assign(r0011, ir_constant::zero(mem_ctx, glsl_type::uvec2_type), 0x03)); in udivmod64()
26 body.emit(assign(r0010, add(r0012, body.constant(int(32))), 0x01)); in udivmod64()
39 body.emit(r0017); in udivmod64()
41 body.emit(assign(r0018, expr(ir_unop_find_msb, swizzle_x(r000D)), 0x01)); in udivmod64()
43 body.emit(assign(r0010, r0018, 0x01)); in udivmod64()
45 body.emit(assig in udivmod64()
[all...]
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/
H A Dfd4_draw.c44 struct fd4_emit *emit, unsigned index_offset) assert_dt
46 const struct pipe_draw_info *info = emit->info;
49 fd4_emit_state(ctx, ring, emit);
51 if (emit->dirty & (FD_DIRTY_VTXBUF | FD_DIRTY_VTXSTATE))
52 fd4_emit_vertex_bufs(ring, emit);
55 OUT_RING(ring, info->index_size ? emit->draw->index_bias
56 : emit->draw->start); /* VFD_INDEX_OFFSET */
66 fd4_emit_get_vp(emit)->writes_psize && (info->mode == PIPE_PRIM_POINTS))
70 emit->binning_pass ? IGNORE_VISIBILITY : USE_VISIBILITY, info,
71 emit
82 struct fd4_emit emit = { global() variable
[all...]
H A Dfd4_emit.h42 /* grouped together emit-state for prog/vertex/state emit: */
75 fd4_emit_get_vp(struct fd4_emit *emit) in fd4_emit_get_vp() argument
77 if (!emit->vs) { in fd4_emit_get_vp()
78 emit->vs = emit->binning_pass ? emit->prog->bs : emit->prog->vs; in fd4_emit_get_vp()
80 return emit->vs; in fd4_emit_get_vp()
84 fd4_emit_get_fp(struct fd4_emit *emit) in fd4_emit_get_fp() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
H A Dfd6_const.c122 fd6_build_tess_consts(struct fd6_emit *emit) in fd6_build_tess_consts() argument
124 struct fd_context *ctx = emit->ctx; in fd6_build_tess_consts()
132 unsigned num_vertices = emit->hs in fd6_build_tess_consts()
133 ? emit->patch_vertices in fd6_build_tess_consts()
134 : emit->gs->gs.vertices_in; in fd6_build_tess_consts()
137 emit->vs->output_size * num_vertices * 4, /* vs primitive stride */ in fd6_build_tess_consts()
138 emit->vs->output_size * 4, /* vs vertex stride */ in fd6_build_tess_consts()
141 emit_stage_tess_consts(constobj, emit->vs, vs_params, ARRAY_SIZE(vs_params)); in fd6_build_tess_consts()
143 if (emit->hs) { in fd6_build_tess_consts()
145 emit in fd6_build_tess_consts()
263 fd6_build_user_consts(struct fd6_emit *emit) fd6_build_user_consts() argument
296 fd6_build_driver_params(struct fd6_emit *emit) fd6_build_driver_params() argument
[all...]
H A Dfd6_draw.c122 fixup_draw_state(struct fd_context *ctx, struct fd6_emit *emit) assert_dt
125 (ctx->last.primitive_restart != emit->primitive_restart)) {
128 ctx->last.primitive_restart = emit->primitive_restart;
141 struct fd6_emit emit = { variable
172 emit.key.hs = ctx->prog.hs;
173 emit.key.ds = ctx->prog.ds;
178 struct shader_info *ds_info = ir3_get_shader_info(emit.key.ds);
179 emit.key.key.tessellation = ir3_tess_mode(ds_info->tess._primitive_mode);
182 struct shader_info *fs_info = ir3_get_shader_info(emit.key.fs);
183 emit
[all...]
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/
H A Dfd3_draw.c56 struct fd3_emit *emit, unsigned index_offset) assert_dt
58 const struct pipe_draw_info *info = emit->info;
61 fd3_emit_state(ctx, ring, emit);
63 if (emit->dirty & (FD_DIRTY_VTXBUF | FD_DIRTY_VTXSTATE))
64 fd3_emit_vertex_bufs(ring, emit);
72 info->index_size ? emit->draw->index_bias : 0)
76 info->index_size ? emit->draw->index_bias : 0)
79 OUT_RING(ring, info->index_size ? emit->draw->index_bias
80 : emit->draw->start); /* VFD_INDEX_OFFSET */
89 fd3_emit_get_vp(emit)
104 struct fd3_emit emit = { global() variable
[all...]
H A Dfd3_emit.h44 /* grouped together emit-state for prog/vertex/state emit: */
67 fd3_emit_get_vp(struct fd3_emit *emit) in fd3_emit_get_vp() argument
69 if (!emit->vs) { in fd3_emit_get_vp()
70 emit->vs = emit->binning_pass ? emit->prog->bs : emit->prog->vs; in fd3_emit_get_vp()
72 return emit->vs; in fd3_emit_get_vp()
76 fd3_emit_get_fp(struct fd3_emit *emit) in fd3_emit_get_fp() argument
[all...]
/third_party/python/Lib/re/
H A D_compiler.py39 emit = code.append
59 emit(op)
60 emit(av)
62 emit(OP_LOCALE_IGNORE[op])
63 emit(av)
65 emit(op)
66 emit(av)
70 emit(OP_IGNORE[op])
71 emit(lo)
73 emit(OP_UNICODE_IGNOR
[all...]
/third_party/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_pt_emit.c54 draw_pt_emit_prepare(struct pt_emit *emit, in draw_pt_emit_prepare() argument
58 struct draw_context *draw = emit->draw; in draw_pt_emit_prepare()
71 emit->prim = prim; in draw_pt_emit_prepare()
73 draw->render->set_primitive(draw->render, emit->prim); in draw_pt_emit_prepare()
79 emit->vinfo = vinfo = draw->render->get_vertex_info(draw->render); in draw_pt_emit_prepare()
90 output_format = draw_translate_vinfo_format(vinfo->attrib[i].emit); in draw_pt_emit_prepare()
91 emit_sz = draw_translate_vinfo_size(vinfo->attrib[i].emit); in draw_pt_emit_prepare()
96 if (vinfo->attrib[i].emit == EMIT_1F_PSIZE) { in draw_pt_emit_prepare()
120 if (!emit->translate || in draw_pt_emit_prepare()
121 translate_key_compare(&emit in draw_pt_emit_prepare()
137 draw_pt_emit(struct pt_emit *emit, const struct draw_vertex_info *vert_info, const struct draw_prim_info *prim_info) draw_pt_emit() argument
212 draw_pt_emit_linear(struct pt_emit *emit, const struct draw_vertex_info *vert_info, const struct draw_prim_info *prim_info) draw_pt_emit_linear() argument
297 struct pt_emit *emit = CALLOC_STRUCT(pt_emit); draw_pt_emit_create() local
315 draw_pt_emit_destroy(struct pt_emit *emit) draw_pt_emit_destroy() argument
[all...]
H A Ddraw_vs_variant.c42 /* A first pass at incorporating vertex fetch/emit functionality into
57 struct translate *emit; member
202 vsvg->emit->set_buffer( vsvg->emit, in vsvg_run_elts()
208 vsvg->emit->set_buffer( vsvg->emit, in vsvg_run_elts()
214 vsvg->emit->run( vsvg->emit, in vsvg_run_elts()
268 vsvg->emit->set_buffer( vsvg->emit, in vsvg_run_linear()
304 struct translate_key fetch, emit; draw_vs_create_variant_generic() local
[all...]
H A Ddraw_pt_so_emit.c84 void draw_pt_so_emit_prepare(struct pt_so_emit *emit, boolean use_pre_clip_pos) in draw_pt_so_emit_prepare() argument
86 struct draw_context *draw = emit->draw; in draw_pt_so_emit_prepare()
88 emit->use_pre_clip_pos = use_pre_clip_pos; in draw_pt_so_emit_prepare()
89 emit->has_so = draw_has_so(draw); in draw_pt_so_emit_prepare()
91 emit->pos_idx = draw_current_shader_position_output(draw); in draw_pt_so_emit_prepare()
95 if (emit->has_so) { in draw_pt_so_emit_prepare()
104 emit->has_so = has_valid_buffer; in draw_pt_so_emit_prepare()
107 if (!emit->has_so) in draw_pt_so_emit_prepare()
144 /* check have we space to emit prim first - if not don't do anything */ in so_emit_prim()
271 void draw_pt_so_emit( struct pt_so_emit *emit, in draw_pt_so_emit() argument
333 struct pt_so_emit *emit = CALLOC_STRUCT(pt_so_emit); draw_pt_so_emit_create() local
[all...]
/third_party/libbpf/src/
H A Dgen_loader.c96 static void emit(struct bpf_gen *gen, struct bpf_insn insn) in emit() function
106 emit(gen, insn1); in emit2()
107 emit(gen, insn2); in emit2()
121 emit(gen, BPF_MOV64_REG(BPF_REG_6, BPF_REG_1)); in bpf_gen__init()
124 emit(gen, BPF_MOV64_REG(BPF_REG_1, BPF_REG_10)); in bpf_gen__init()
125 emit(gen, BPF_ALU64_IMM(BPF_ADD, BPF_REG_1, -stack_sz)); in bpf_gen__init()
126 emit(gen, BPF_MOV64_IMM(BPF_REG_2, stack_sz)); in bpf_gen__init()
127 emit(gen, BPF_MOV64_IMM(BPF_REG_3, 0)); in bpf_gen__init()
128 emit(gen, BPF_EMIT_CALL(BPF_FUNC_probe_read_kernel)); in bpf_gen__init()
133 emit(ge in bpf_gen__init()
[all...]
/third_party/mesa3d/src/gallium/drivers/r300/compiler/
H A Dr300_fragprog_emit.c59 struct r300_fragment_program_compiler *c = emit->compiler; \
153 static int emit_alu(struct r300_emit_state * emit, struct rc_pair_instruction* inst) in emit_alu() argument
260 emit->node_flags |= R300_RGBA_OUT; in emit_alu()
274 emit->node_flags |= R300_RGBA_OUT; in emit_alu()
278 emit->node_flags |= R300_W_OUT; in emit_alu()
307 static int finish_node(struct r300_emit_state * emit) in finish_node() argument
309 struct r300_fragment_program_compiler * c = emit->compiler; in finish_node()
310 struct r300_fragment_program_code *code = &emit->compiler->code->code.r300; in finish_node()
318 if (code->alu.length == emit->node_first_alu) { in finish_node()
322 if (!emit_alu(emit, in finish_node()
400 begin_tex(struct r300_emit_state * emit) begin_tex() argument
425 emit_tex(struct r300_emit_state * emit, struct rc_instruction * inst) emit_tex() argument
482 struct r300_emit_state emit; r300BuildFragmentProgramHwCode() local
[all...]
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/
H A Dfd5_emit.h42 /* grouped together emit-state for prog/vertex/state emit: */
61 * figure that out up-front and stash it in the emit.
81 fd5_emit_get_vp(struct fd5_emit *emit) in fd5_emit_get_vp() argument
83 if (!emit->vs) { in fd5_emit_get_vp()
87 if (emit->binning_pass && in fd5_emit_get_vp()
88 !emit->prog->vs->stream_output.num_outputs) in fd5_emit_get_vp()
89 emit->vs = emit->prog->bs; in fd5_emit_get_vp()
91 emit in fd5_emit_get_vp()
97 fd5_emit_get_fp(struct fd5_emit *emit) fd5_emit_get_fp() argument
[all...]
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_tgsi_action.c159 dp2_emit /* emit */
194 dp3_emit /* emit */
234 dp4_emit /* emit */
280 dst_emit /* emit */
324 exp_emit /* emit */
428 lit_emit /* emit */
472 log_emit /* emit */
513 pk2h_emit /* emit */
543 up2h_emit /* emit */
645 pow_emit /* emit */
[all...]

Completed in 28 milliseconds

12345678910>>...26