Lines Matching defs:ctx

60 static int r600_pipe_shader(struct pipe_context *ctx, struct r600_pipe_shader *shader)  in r600_pipe_shader()
108 int r600_pipe_shader_create(struct pipe_context *ctx, struct r600_pipe_shader *shader) in r600_pipe_shader_create()
156 void r600_pipe_shader_destroy(struct pipe_context *ctx, struct r600_pipe_shader *shader) in r600_pipe_shader_destroy()
231 int r600_compute_shader_create(struct pipe_context * ctx, in r600_compute_shader_create()
291 static unsigned r600_alu_from_byte_stream(struct r600_shader_ctx *ctx, in r600_alu_from_byte_stream()
350 static void llvm_if(struct r600_shader_ctx *ctx, struct r600_bytecode_alu * alu, in llvm_if()
358 static void r600_break_from_byte_stream(struct r600_shader_ctx *ctx, in r600_break_from_byte_stream()
373 static unsigned r600_fc_from_byte_stream(struct r600_shader_ctx *ctx, in r600_fc_from_byte_stream()
439 static unsigned r600_tex_from_byte_stream(struct r600_shader_ctx *ctx, in r600_tex_from_byte_stream()
473 static int r600_vtx_from_byte_stream(struct r600_shader_ctx *ctx, in r600_vtx_from_byte_stream()
516 static void r600_bytecode_from_byte_stream(struct r600_shader_ctx *ctx, in r600_bytecode_from_byte_stream()
559 static int tgsi_is_supported(struct r600_shader_ctx *ctx) in tgsi_is_supported()
594 static int evergreen_interp_alu(struct r600_shader_ctx *ctx, int input) in evergreen_interp_alu()
652 static int evergreen_interp_flat(struct r600_shader_ctx *ctx, int input) in evergreen_interp_flat()
744 static int evergreen_interp_input(struct r600_shader_ctx *ctx, int index) in evergreen_interp_input()
759 static int select_twoside_color(struct r600_shader_ctx *ctx, int front, int back) in select_twoside_color()
788 static int tgsi_declaration(struct r600_shader_ctx *ctx) in tgsi_declaration()
885 static int r600_get_temp(struct r600_shader_ctx *ctx) in r600_get_temp()
898 static int evergreen_gpr_count(struct r600_shader_ctx *ctx) in evergreen_gpr_count()
937 static void tgsi_src(struct r600_shader_ctx *ctx, in tgsi_src()
985 static int tgsi_fetch_rel_const(struct r600_shader_ctx *ctx, unsigned int offset, unsigned int dst_… in tgsi_fetch_rel_const()
1035 static int tgsi_split_constant(struct r600_shader_ctx *ctx) in tgsi_split_constant()
1086 static int tgsi_split_literal_constant(struct r600_shader_ctx *ctx) in tgsi_split_literal_constant()
1122 static int process_twoside_color_inputs(struct r600_shader_ctx *ctx) in process_twoside_color_inputs()
1170 struct r600_shader_ctx ctx; in r600_shader_from_tgsi() local
1714 static int tgsi_unsupported(struct r600_shader_ctx *ctx) in tgsi_unsupported()
1721 static int tgsi_end(struct r600_shader_ctx *ctx) in tgsi_end()
1749 static void tgsi_dst(struct r600_shader_ctx *ctx, in tgsi_dst()
1779 static int tgsi_op2_s(struct r600_shader_ctx *ctx, int swap, int trans_only) in tgsi_op2_s()
1823 static int tgsi_op2(struct r600_shader_ctx *ctx) in tgsi_op2()
1828 static int tgsi_op2_swap(struct r600_shader_ctx *ctx) in tgsi_op2_swap()
1833 static int tgsi_op2_trans(struct r600_shader_ctx *ctx) in tgsi_op2_trans()
1838 static int tgsi_ineg(struct r600_shader_ctx *ctx) in tgsi_ineg()
1869 static int cayman_emit_float_instr(struct r600_shader_ctx *ctx) in cayman_emit_float_instr()
1899 static int cayman_mul_int_instr(struct r600_shader_ctx *ctx) in cayman_mul_int_instr()
1932 static int tgsi_setup_trig(struct r600_shader_ctx *ctx) in tgsi_setup_trig()
2007 static int cayman_trig(struct r600_shader_ctx *ctx) in cayman_trig()
2038 static int tgsi_trig(struct r600_shader_ctx *ctx) in tgsi_trig()
2081 static int tgsi_scs(struct r600_shader_ctx *ctx) in tgsi_scs()
2202 static int tgsi_kill(struct r600_shader_ctx *ctx) in tgsi_kill()
2235 static int tgsi_lit(struct r600_shader_ctx *ctx) in tgsi_lit()
2385 static int tgsi_rsq(struct r600_shader_ctx *ctx) in tgsi_rsq()
2413 static int tgsi_helper_tempx_replicate(struct r600_shader_ctx *ctx) in tgsi_helper_tempx_replicate()
2435 static int tgsi_trans_srcx_replicate(struct r600_shader_ctx *ctx) in tgsi_trans_srcx_replicate()
2456 static int cayman_pow(struct r600_shader_ctx *ctx) in cayman_pow()
2506 static int tgsi_pow(struct r600_shader_ctx *ctx) in tgsi_pow()
2545 static int tgsi_divmod(struct r600_shader_ctx *ctx, int mod, int signed_op) in tgsi_divmod()
3389 static int tgsi_udiv(struct r600_shader_ctx *ctx) in tgsi_udiv()
3394 static int tgsi_umod(struct r600_shader_ctx *ctx) in tgsi_umod()
3399 static int tgsi_idiv(struct r600_shader_ctx *ctx) in tgsi_idiv()
3404 static int tgsi_imod(struct r600_shader_ctx *ctx) in tgsi_imod()
3410 static int tgsi_f2i(struct r600_shader_ctx *ctx) in tgsi_f2i()
3459 static int tgsi_iabs(struct r600_shader_ctx *ctx) in tgsi_iabs()
3515 static int tgsi_issg(struct r600_shader_ctx *ctx) in tgsi_issg()
3578 static int tgsi_ssg(struct r600_shader_ctx *ctx) in tgsi_ssg()
3630 static int tgsi_helper_copy(struct r600_shader_ctx *ctx, struct tgsi_full_instruction *inst) in tgsi_helper_copy()
3656 static int tgsi_op3(struct r600_shader_ctx *ctx) in tgsi_op3()
3687 static int tgsi_dp(struct r600_shader_ctx *ctx) in tgsi_dp()
3737 static inline boolean tgsi_tex_src_requires_loading(struct r600_shader_ctx *ctx, in tgsi_tex_src_requires_loading()
3747 static inline unsigned tgsi_tex_get_src_gpr(struct r600_shader_ctx *ctx, in tgsi_tex_get_src_gpr()
3754 static int tgsi_tex(struct r600_shader_ctx *ctx) in tgsi_tex()
4163 static int tgsi_lrp(struct r600_shader_ctx *ctx) in tgsi_lrp()
4262 static int tgsi_cmp(struct r600_shader_ctx *ctx) in tgsi_cmp()
4291 static int tgsi_xpd(struct r600_shader_ctx *ctx) in tgsi_xpd()
4363 static int tgsi_exp(struct r600_shader_ctx *ctx) in tgsi_exp()
4492 static int tgsi_log(struct r600_shader_ctx *ctx) in tgsi_log()
4752 static int tgsi_eg_arl(struct r600_shader_ctx *ctx) in tgsi_eg_arl()
4786 static int tgsi_r600_arl(struct r600_shader_ctx *ctx) in tgsi_r600_arl()
4845 static int tgsi_opdst(struct r600_shader_ctx *ctx) in tgsi_opdst()
4877 static int emit_logic_pred(struct r600_shader_ctx *ctx, int opcode) in emit_logic_pred()
4903 static int pops(struct r600_shader_ctx *ctx, int pops) in pops()
4936 static inline void callstack_decrease_current(struct r600_shader_ctx *ctx, unsigned reason) in callstack_decrease_current()
4953 static inline void callstack_check_depth(struct r600_shader_ctx *ctx, unsigned reason, unsigned che… in callstack_check_depth()
4995 static void fc_set_mid(struct r600_shader_ctx *ctx, int fc_sp) in fc_set_mid()
5005 static void fc_pushlevel(struct r600_shader_ctx *ctx, int type) in fc_pushlevel()
5012 static void fc_poplevel(struct r600_shader_ctx *ctx) in fc_poplevel()
5073 static int tgsi_if(struct r600_shader_ctx *ctx) in tgsi_if()
5085 static int tgsi_else(struct r600_shader_ctx *ctx) in tgsi_else()
5095 static int tgsi_endif(struct r600_shader_ctx *ctx) in tgsi_endif()
5115 static int tgsi_bgnloop(struct r600_shader_ctx *ctx) in tgsi_bgnloop()
5128 static int tgsi_endloop(struct r600_shader_ctx *ctx) in tgsi_endloop()
5157 static int tgsi_loop_brk_cont(struct r600_shader_ctx *ctx) in tgsi_loop_brk_cont()
5180 static int tgsi_umad(struct r600_shader_ctx *ctx) in tgsi_umad()