/external/mesa3d/src/intel/compiler/ |
D | brw_fs.h | 75 static inline fs_reg 76 offset(const fs_reg ®, const brw::fs_builder &bld, unsigned delta) in offset() 113 fs_reg vgrf(const glsl_type *const type); 117 const fs_reg &dst, 118 const fs_reg &surf_index, 119 const fs_reg &varying_offset, 154 bool get_pull_locs(const fs_reg &src, unsigned *out_surf_index, 203 void emit_fragcoord_interpolation(fs_reg wpos); 204 fs_reg *emit_frontfacing_interpolation(); 205 fs_reg *emit_samplepos_setup(); [all …]
|
D | brw_ir_fs.h | 32 class fs_reg : public backend_reg { 34 DECLARE_RALLOC_CXX_OPERATORS(fs_reg) 38 fs_reg(); 39 fs_reg(struct ::brw_reg reg); 40 fs_reg(enum brw_reg_file file, int nr); 41 fs_reg(enum brw_reg_file file, int nr, enum brw_reg_type type); 43 bool equals(const fs_reg &r) const; 44 bool negative_equals(const fs_reg &r) const; 57 static inline fs_reg 58 negate(fs_reg reg) in negate() [all …]
|
D | test_fs_cmod_propagation.cpp | 113 fs_reg dest = v->vgrf(glsl_type::float_type); in TEST_F() 114 fs_reg src0 = v->vgrf(glsl_type::float_type); in TEST_F() 115 fs_reg src1 = v->vgrf(glsl_type::float_type); in TEST_F() 116 fs_reg zero(brw_imm_f(0.0f)); in TEST_F() 145 fs_reg dest = v->vgrf(glsl_type::float_type); in TEST_F() 146 fs_reg src0 = v->vgrf(glsl_type::float_type); in TEST_F() 147 fs_reg src1 = v->vgrf(glsl_type::float_type); in TEST_F() 148 fs_reg zero(brw_imm_f(0.0f)); in TEST_F() 179 fs_reg dest = v->vgrf(glsl_type::float_type); in TEST_F() 180 fs_reg src0 = v->vgrf(glsl_type::float_type); in TEST_F() [all …]
|
D | brw_fs_visitor.cpp | 36 fs_reg 37 fs_visitor::emit_mcs_fetch(const fs_reg &coordinate, unsigned components, in emit_mcs_fetch() 38 const fs_reg &texture, in emit_mcs_fetch() 39 const fs_reg &texture_handle) in emit_mcs_fetch() 41 const fs_reg dest = vgrf(glsl_type::uvec4_type); in emit_mcs_fetch() 43 fs_reg srcs[TEX_LOGICAL_NUM_SRCS]; in emit_mcs_fetch() 66 fs_visitor::emit_gen6_gather_wa(uint8_t wa, fs_reg dst) in emit_gen6_gather_wa() 74 fs_reg dst_f = retype(dst, BRW_REGISTER_TYPE_F); in emit_gen6_gather_wa() 101 bld.MOV(fs_reg(MRF, 2 + i * reg_width, BRW_REGISTER_TYPE_F), in emit_dummy_fs() 143 fs_reg [all …]
|
D | test_fs_saturate_propagation.cpp | 103 fs_reg dst0 = v->vgrf(glsl_type::float_type); in TEST_F() 104 fs_reg dst1 = v->vgrf(glsl_type::float_type); in TEST_F() 105 fs_reg src0 = v->vgrf(glsl_type::float_type); in TEST_F() 106 fs_reg src1 = v->vgrf(glsl_type::float_type); in TEST_F() 138 fs_reg dst0 = v->vgrf(glsl_type::float_type); in TEST_F() 139 fs_reg dst1 = v->vgrf(glsl_type::float_type); in TEST_F() 140 fs_reg dst2 = v->vgrf(glsl_type::float_type); in TEST_F() 141 fs_reg src0 = v->vgrf(glsl_type::float_type); in TEST_F() 142 fs_reg src1 = v->vgrf(glsl_type::float_type); in TEST_F() 176 fs_reg dst0 = v->vgrf(glsl_type::float_type); in TEST_F() [all …]
|
D | brw_fs_nir.cpp | 86 fs_reg reg = bld.vgrf(BRW_REGISTER_TYPE_F, 4 * reg_size); in nir_setup_outputs() 117 group_size[i] = fs_reg(UNIFORM, uniforms++, BRW_REGISTER_TYPE_UD); in nir_setup_uniforms() 127 subgroup_id = fs_reg(UNIFORM, uniforms++, BRW_REGISTER_TYPE_UD); in nir_setup_uniforms() 134 fs_reg *reg; in emit_system_values_block() 161 fs_reg g1(retype(brw_vec8_grf(1, 0), BRW_REGISTER_TYPE_UD)); in emit_system_values_block() 162 fs_reg iid = abld.vgrf(BRW_REGISTER_TYPE_UD, 1); in emit_system_values_block() 216 fs_reg shifted = abld.vgrf(BRW_REGISTER_TYPE_UW, 1); in emit_system_values_block() 235 fs_reg inverted = negate(shifted); in emit_system_values_block() 244 fs_reg anded = abld.vgrf(BRW_REGISTER_TYPE_UD, 1); in emit_system_values_block() 247 fs_reg dst = abld.vgrf(BRW_REGISTER_TYPE_D, 1); in emit_system_values_block() [all …]
|
D | test_fs_scoreboard.cpp | 88 emit_SEND(const fs_builder &bld, const fs_reg &dst, in emit_SEND() 89 const fs_reg &desc, const fs_reg &payload) in emit_SEND() 123 fs_reg g[16]; in TEST_F() 127 fs_reg x = v->vgrf(glsl_type::int_type); in TEST_F() 128 fs_reg y = v->vgrf(glsl_type::int_type); in TEST_F() 150 fs_reg g[16]; in TEST_F() 154 fs_reg x = v->vgrf(glsl_type::int_type); in TEST_F() 177 fs_reg g[16]; in TEST_F() 181 fs_reg x = v->vgrf(glsl_type::int_type); in TEST_F() 182 fs_reg y = v->vgrf(glsl_type::int_type); in TEST_F() [all …]
|
D | brw_fs.cpp | 51 fs_inst::init(enum opcode opcode, uint8_t exec_size, const fs_reg &dst, in init() 52 const fs_reg *src, unsigned sources) in init() 56 this->src = new fs_reg[MAX2(sources, 3)]; in init() 102 fs_inst::fs_inst(enum opcode opcode, uint8_t exec_size, const fs_reg &dst) in fs_inst() 107 fs_inst::fs_inst(enum opcode opcode, uint8_t exec_size, const fs_reg &dst, in fs_inst() 108 const fs_reg &src0) in fs_inst() 110 const fs_reg src[1] = { src0 }; in fs_inst() 114 fs_inst::fs_inst(enum opcode opcode, uint8_t exec_size, const fs_reg &dst, in fs_inst() 115 const fs_reg &src0, const fs_reg &src1) in fs_inst() 117 const fs_reg src[2] = { src0, src1 }; in fs_inst() [all …]
|
D | test_fs_copy_propagation.cpp | 103 fs_reg vgrf0 = v->vgrf(glsl_type::float_type); in TEST_F() 104 fs_reg vgrf1 = v->vgrf(glsl_type::float_type); in TEST_F() 105 fs_reg vgrf2 = v->vgrf(glsl_type::float_type); in TEST_F() 106 fs_reg vgrf3 = v->vgrf(glsl_type::float_type); in TEST_F() 145 fs_reg vgrf0 = v->vgrf(glsl_type::float_type); in TEST_F() 146 fs_reg vgrf1 = v->vgrf(glsl_type::float_type); in TEST_F() 147 fs_reg vgrf2 = v->vgrf(glsl_type::float_type); in TEST_F()
|
D | brw_fs_cse.cpp | 43 fs_reg tmp; 119 fs_reg *xs = a->src; in operands_match() 120 fs_reg *ys = b->src; in operands_match() 204 create_copy_instr(const fs_builder &bld, fs_inst *inst, fs_reg src, bool negate) in create_copy_instr() 213 fs_reg *payload = ralloc_array(bld.shader->mem_ctx, fs_reg, in create_copy_instr() 230 fs_reg *payload = ralloc_array(bld.shader->mem_ctx, fs_reg, sources); in create_copy_instr() 293 entry->tmp = fs_reg(VGRF, alloc.allocate(written), in opt_cse_local() 347 fs_reg *src_reg = &entry->generator->src[i]; in opt_cse_local()
|
D | brw_fs_live_variables.h | 95 int var_from_reg(const fs_reg ®) const in var_from_reg() 135 void setup_one_read(struct block_data *bd, int ip, const fs_reg ®); 137 const fs_reg ®);
|
D | brw_fs_reg_allocate.cpp | 37 assign_reg(unsigned *reg_hw_locations, fs_reg *reg) in assign_reg() 469 void emit_unspill(const fs_builder &bld, fs_reg dst, 471 void emit_spill(const fs_builder &bld, fs_reg src, 476 fs_reg alloc_scratch_header(); 477 fs_reg alloc_spill_reg(unsigned size, int ip); 511 fs_reg scratch_header; 874 fs_reg_alloc::emit_unspill(const fs_builder &bld, fs_reg dst, in emit_unspill() 885 fs_reg header = this->scratch_header; in emit_unspill() 892 fs_reg srcs[] = { brw_imm_ud(0), brw_imm_ud(0), header }; in emit_unspill() 930 fs_reg_alloc::emit_spill(const fs_builder &bld, fs_reg src, in emit_spill() [all …]
|
D | brw_fs_combine_constants.cpp | 93 reg_link(fs_reg *reg) : reg(reg) {} in reg_link() 96 fs_reg *reg; 100 link(void *mem_ctx, fs_reg *reg) in link() 219 const fs_reg *src = &inst->src[src_idx]; in get_constant_value() 299 needs_negate(const fs_reg *reg, const struct imm *imm) in needs_negate() 340 fs_reg *src) in represent_src_as_imm() 446 fs_reg reg(VGRF, alloc.allocate(1)); in opt_combine_constants() 495 fs_reg *reg = link->reg; in opt_combine_constants()
|
D | brw_fs_lower_regioning.cpp | 266 const fs_reg tmp = ibld.vgrf(get_exec_type(inst)); in lower_src_modifiers() 297 fs_reg tmp = ibld.vgrf(type, stride); in lower_dst_modifiers() 340 fs_reg tmp = ibld.vgrf(inst->src[i].type, stride); in lower_src_region() 350 fs_reg raw_src = inst->src[i]; in lower_src_region() 360 fs_reg lower_src = tmp; in lower_src_region() 389 fs_reg tmp = ibld.vgrf(inst->dst.type, stride); in lower_dst_region()
|
D | brw_fs_live_variables.cpp | 57 int ip, const fs_reg ®) in setup_one_read() 75 int ip, const fs_reg ®) in setup_one_write() 118 fs_reg reg = inst->src[i]; in setup_def_use() 133 fs_reg reg = inst->dst; in setup_def_use() 328 const fs_reg ®, unsigned n) in check_register_live_range()
|
D | brw_fs_sel_peephole.cpp | 199 fs_reg src0(then_mov[i]->src[0]); in opt_peephole_sel() 206 fs_reg src1(else_mov[i]->src[0]); in opt_peephole_sel()
|
D | brw_fs_lower_pack.cpp | 41 fs_reg dst = inst->dst; in lower_pack()
|
D | brw_fs_bank_conflicts.cpp | 483 is_grf(const fs_reg &r) in is_grf() 495 reg_of(const fs_reg &r) in reg_of() 894 fs_reg 895 transform(const partitioning &p, const permutation &map, fs_reg r) in transform()
|
D | brw_fs_dead_code_eliminate.cpp | 100 inst->dst = fs_reg(spread(retype(brw_null_reg(), inst->dst.type), in dead_code_eliminate()
|
D | brw_fs_scoreboard.cpp | 472 get(const fs_reg &r) const in get() 484 set(const fs_reg &r, const dependency &d) in set() 582 dep(const fs_reg &r) in dep()
|
D | brw_fs_builder.h | 43 typedef fs_reg src_reg; 46 typedef fs_reg dst_reg;
|
D | brw_fs_copy_propagation.cpp | 48 fs_reg dst; 49 fs_reg src; 717 fs_reg val = entry->src; in try_constant_propagate()
|
D | brw_fs_register_coalesce.cpp | 53 fs_reg dst = inst->dst; in is_nop_mov()
|
/external/mesa3d/docs/relnotes/ |
D | 19.1.4.rst | 66 - intel/compiler: don't use a keyword struct for a class fs_reg
|
D | 9.0.3.rst | 49 brw_reg_from_fs_reg(fs_reg*): Assertion „!"not reached"“ failed.
|