Home | History | Annotate | Download | only in i965

Lines Matching refs:vgrf

74    case VGRF:
182 fs_reg vec4_offset = vgrf(glsl_type::uint_type);
191 fs_reg vec4_result = bld.vgrf(BRW_REGISTER_TYPE_F, 4);
219 ubld.MOV(ubld.null_reg_f(), fs_reg(VGRF, grf, BRW_REGISTER_TYPE_F));
266 return src[1].file == VGRF;
269 return src[0].file == VGRF;
272 return src[0].file == VGRF;
330 if (src[i].file == VGRF && (src[i].stride == 0 ||
350 if (reg.file != VGRF || reg.offset != 0 || reg.stride != 1)
511 fs_reg dst = fs_reg(VGRF, alloc.allocate(1), BRW_REGISTER_TYPE_UD);
563 const fs_reg diff = component(fs_reg(VGRF, alloc.allocate(1),
591 payload = vgrf(glsl_type::uvec2_type);
593 payload = vgrf(glsl_type::uint_type);
827 if (is_tex() && arg == 0 && src[0].file == VGRF)
839 case VGRF:
954 fs_visitor::vgrf(const glsl_type *const type)
957 return fs_reg(VGRF, alloc.allocate(type_size_scalar(type) * reg_width),
1060 fs_reg *reg = new(this->mem_ctx) fs_reg(vgrf(glsl_type::bool_type));
1127 fs_reg *reg = new(this->mem_ctx) fs_reg(vgrf(glsl_type::vec2_type));
1129 fs_reg int_sample_x = vgrf(glsl_type::int_type);
1130 fs_reg int_sample_y = vgrf(glsl_type::int_type);
1178 fs_reg *reg = new(this->mem_ctx) fs_reg(vgrf(glsl_type::int_type));
1215 fs_reg tmp(VGRF, alloc.allocate(1), BRW_REGISTER_TYPE_W);
1222 const fs_reg t1 = component(fs_reg(VGRF, alloc.allocate(1),
1224 const fs_reg t2(VGRF, alloc.allocate(1), BRW_REGISTER_TYPE_W);
1273 fs_reg *reg = new(this->mem_ctx) fs_reg(vgrf(glsl_type::int_type));
1294 fs_reg one = vgrf(glsl_type::int_type);
1295 fs_reg enabled_mask = vgrf(glsl_type::int_type);
1312 fs_reg temp = bld.vgrf(src.type);
1366 fs_reg hdr = abld.vgrf(BRW_REGISTER_TYPE_UD, 1);
1371 fs_reg payload = abld.vgrf(BRW_REGISTER_TYPE_UD, 2);
1691 if (inst->dst.file == VGRF) {
1698 if (inst->src[i].file == VGRF) {
1707 if (inst->dst.file == VGRF) {
1713 if (inst->src[i].file == VGRF) {
1760 if (inst->dst.file == VGRF) {
1768 if (inst->src[i].file == VGRF) {
1798 if (inst->dst.file == VGRF)
1802 if (inst->src[i].file == VGRF)
1827 if (inst->dst.file == VGRF)
1831 if (inst->src[i].file == VGRF)
1838 * think some random VGRF is delta_xy.
1841 if (delta_xy[i].file == VGRF) {
2127 const fs_reg dst = ubld.vgrf(BRW_REGISTER_TYPE_UD);
2133 /* Rewrite the instruction to use the temporary VGRF. */
2134 inst->src[i].file = VGRF;
2547 if (inst->src[i].file == VGRF &&
2558 inst->dst.file == VGRF &&
2568 } else if (inst->dst.file == VGRF &&
2580 if (delta_xy[i].file == VGRF && remap[delta_xy[i].nr] != -1) {
2664 inst->dst.file != MRF || inst->src[0].file != VGRF ||
3013 if (inst->src[i].file == VGRF || inst->src[i].file == FIXED_GRF) {
3080 if (scan_inst->dst.file == VGRF) {
3146 if (scan_inst->dst.file == VGRF &&
3175 if (inst->mlen != 0 && inst->dst.file == VGRF) {
3211 const fs_reg payload = ubld.group(8, 0).vgrf(BRW_REGISTER_TYPE_UD);
3245 assert(inst->dst.file == MRF || inst->dst.file == VGRF);
3365 fs_reg imm(VGRF, alloc.allocate(dispatch_width / 8),
3423 inst->dst = fs_reg(VGRF, alloc.allocate(dispatch_width / 8),
3427 fs_reg high(VGRF, alloc.allocate(dispatch_width / 8),
3503 mach->dst = ibld.vgrf(inst->dst.type);
3555 fs_reg tmp = bld.vgrf(BRW_REGISTER_TYPE_F, 4);
3615 sources[length] = fs_reg(VGRF, bld.shader->alloc.allocate(1));
3623 sources[length] = fs_reg(VGRF, bld.shader->alloc.allocate(1),
3627 * relevant. Since it's unsigned single words one vgrf is always
3691 sources[length] = bld.vgrf(BRW_REGISTER_TYPE_UD);
3701 fs_reg payload = fs_reg(VGRF, -1, BRW_REGISTER_TYPE_F);
3733 const fs_reg header = ubld.group(8, 0).vgrf(BRW_REGISTER_TYPE_UD, length);
3975 sources[i] = bld.vgrf(BRW_REGISTER_TYPE_F);
4146 const fs_reg src_payload = fs_reg(VGRF, bld.shader->alloc.allocate(mlen),
4207 const fs_reg dst = ubld.vgrf(BRW_REGISTER_TYPE_UD);
4232 const fs_reg payload = bld.vgrf(BRW_REGISTER_TYPE_UD, sz);
4270 fs_reg tmp = bld.vgrf(BRW_REGISTER_TYPE_UD);
4956 const fs_reg tmp = lbld.vgrf(inst->src[i].type, inst->components_read(i));
5045 const fs_reg tmp = lbld.vgrf(inst->dst.type, dst_size);
5214 case VGRF:
5215 fprintf(file, "vgrf%d", inst->dst.nr);
5256 (inst->dst.file == VGRF &&
5273 case VGRF:
5274 fprintf(file, "vgrf%d", inst->src[i].nr);
5341 (inst->src[i].file == VGRF &&
5763 inst->dst = fs_reg(VGRF, alloc.allocate(dispatch_width / 8),
5928 fs_reg channels_uw = bld.vgrf(BRW_REGISTER_TYPE_UW);
5929 fs_reg channels_ud = bld.vgrf(BRW_REGISTER_TYPE_UD);
5936 invocation_id = bld.vgrf(BRW_REGISTER_TYPE_UD);
5939 fs_reg t = bld.vgrf(BRW_REGISTER_TYPE_UD);
5940 fs_reg instance_times_8 = bld.vgrf(BRW_REGISTER_TYPE_UD);
5967 fs_reg payload = bld.vgrf(BRW_REGISTER_TYPE_UD, 3);
6035 this->final_gs_vertex_count = vgrf(glsl_type::uint_type);
6038 /* Create a VGRF to store accumulated control data bits. */
6039 this->control_data_bits = vgrf(glsl_type::uint_type);
6558 fs_reg *reg = new(this->mem_ctx) fs_reg(vgrf(glsl_type::uvec3_type));
6780 const fs_reg tmp = component(bld.vgrf(BRW_REGISTER_TYPE_UD), 0);