Home
last modified time | relevance | path

Searched refs:grf (Results 1 – 8 of 8) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_vec4_tes.cpp88 struct brw_reg grf = brw_vec4_grf(reg + slot / 2, 4 * (slot % 2)); in setup_payload() local
89 grf = stride(grf, 0, is_64bit ? 2 : 4, 1); in setup_payload()
90 grf.swizzle = inst->src[i].swizzle; in setup_payload()
91 grf.type = inst->src[i].type; in setup_payload()
92 grf.abs = inst->src[i].abs; in setup_payload()
93 grf.negate = inst->src[i].negate; in setup_payload()
99 if (is_64bit && grf.subnr > 0) { in setup_payload()
103 assert((brw_mask_for_swizzle(grf.swizzle) & 0x3) ^ in setup_payload()
104 (brw_mask_for_swizzle(grf.swizzle) & 0xc)); in setup_payload()
105 if (brw_mask_for_swizzle(grf.swizzle) & 0xc) { in setup_payload()
[all …]
Dbrw_fs.cpp211 fs_visitor::DEP_RESOLVE_MOV(const fs_builder &bld, int grf) in DEP_RESOLVE_MOV() argument
219 ubld.MOV(ubld.null_reg_f(), fs_reg(VGRF, grf, BRW_REGISTER_TYPE_F)); in DEP_RESOLVE_MOV()
1546 int grf = payload.num_regs + in convert_attr_sources_to_hw_regs() local
1570 stride(byte_offset(retype(brw_vec8_grf(grf, 0), inst->src[i].type), in convert_attr_sources_to_hw_regs()
1741 int grf = alloc.allocate(offset); in split_virtual_grfs() local
1743 new_virtual_grf[k] = grf; in split_virtual_grfs()
3012 int grf; in clear_deps_for_inst_src() local
3014 grf = inst->src[i].nr; in clear_deps_for_inst_src()
3019 if (grf >= first_grf && in clear_deps_for_inst_src()
3020 grf < first_grf + grf_len) { in clear_deps_for_inst_src()
[all …]
Dbrw_fs.h92 void DEP_RESOLVE_MOV(const brw::fs_builder &bld, int grf);
Dbrw_vec4.cpp1706 int grf = attribute_map[inst->src[i].nr + in lower_attributes_to_hw_regs() local
1713 assert(grf != 0); in lower_attributes_to_hw_regs()
1716 attribute_to_hw_reg(grf, inst->src[i].type, interleaved); in lower_attributes_to_hw_regs()
/external/mesa3d/src/gallium/drivers/ilo/shader/
Dilo_shader_fs.c164 int grf, interp, ch; in fetch_attr() local
168 grf = fcc->first_attr_grf + slot * 2; in fetch_attr()
201 a0[0] = tsrc(TOY_FILE_GRF, grf + 0, 3 * 4); in fetch_attr()
202 a0[1] = tsrc(TOY_FILE_GRF, grf + 0, 7 * 4); in fetch_attr()
203 a0[2] = tsrc(TOY_FILE_GRF, grf + 1, 3 * 4); in fetch_attr()
204 a0[3] = tsrc(TOY_FILE_GRF, grf + 1, 7 * 4); in fetch_attr()
212 attr[0] = tsrc(TOY_FILE_GRF, grf + 0, 0); in fetch_attr()
213 attr[1] = tsrc(TOY_FILE_GRF, grf + 0, 4 * 4); in fetch_attr()
214 attr[2] = tsrc(TOY_FILE_GRF, grf + 1, 0); in fetch_attr()
215 attr[3] = tsrc(TOY_FILE_GRF, grf + 1, 4 * 4); in fetch_attr()
[all …]
Dilo_shader_gs.c1168 int grf = gcc->first_free_grf; in gs_setup_vars() local
1171 gcc->vars.urb_write_header = tdst_d(tdst(TOY_FILE_GRF, grf, 0)); in gs_setup_vars()
1172 grf++; in gs_setup_vars()
1174 gcc->vars.tmp = tdst(TOY_FILE_GRF, grf, 0); in gs_setup_vars()
1175 grf++; in gs_setup_vars()
1180 gcc->vars.buffers[i] = tdst(TOY_FILE_GRF, grf, 0); in gs_setup_vars()
1181 grf += gcc->shader->out.count; in gs_setup_vars()
1184 gcc->vars.so_written = tdst_d(tdst(TOY_FILE_GRF, grf, 0)); in gs_setup_vars()
1185 grf++; in gs_setup_vars()
1187 gcc->vars.so_index = tdst_d(tdst(TOY_FILE_GRF, grf, 0)); in gs_setup_vars()
[all …]
Dilo_shader_vs.c71 const int grf = first_in_grf + vcc->tgsi.inputs[slot].semantic_index; in vs_lower_opcode_tgsi_in() local
72 const struct toy_src src = tsrc(TOY_FILE_GRF, grf, 0); in vs_lower_opcode_tgsi_in()
88 const int grf = vcc->first_const_grf + i / 2; in vs_lower_opcode_tgsi_const_pcb() local
93 grf >= vcc->first_ucp_grf) in vs_lower_opcode_tgsi_const_pcb()
97 src = tsrc_rect(tsrc(TOY_FILE_GRF, grf, grf_subreg), TOY_RECT_041); in vs_lower_opcode_tgsi_const_pcb()
211 const int grf = vcc->first_vue_grf; in vs_lower_opcode_tgsi_sv() local
212 const struct toy_src src = tsrc(TOY_FILE_GRF, grf, 0); in vs_lower_opcode_tgsi_sv()
/external/trappy/doc/
Dcompare runs.ipynb131 …SrQQaOL8Obt672fXnPXidW1XE7O9mc/RFRzvGA1x67KXsXr7bNd/lc5fT\n3O9cn4omOsH692l+grf/D4FAwP4Z/N6Ov3D2QhI…