Searched refs:suboffset (Results 1 - 25 of 30) sorted by relevance

12

/xsrc/external/mit/MesaLib/dist/src/intel/vulkan/
H A Danv_nir_lower_ubo_loads.c58 unsigned suboffset = offset % 64; local in function:lower_ubo_load_instr
59 uint64_t aligned_offset = offset - suboffset;
78 val = nir_extract_bits(b, data, 2, suboffset * 8,
/xsrc/external/mit/MesaLib.old/dist/src/intel/compiler/
H A Dbrw_ir_fs.h84 const unsigned suboffset = reg.offset + delta; local in function:byte_offset
85 reg.nr += suboffset / REG_SIZE;
86 reg.offset = suboffset % REG_SIZE;
91 const unsigned suboffset = reg.subnr + delta; local in function:byte_offset
92 reg.nr += suboffset / REG_SIZE;
93 reg.subnr = suboffset % REG_SIZE;
H A Dbrw_ir_vec4.h78 const unsigned suboffset = reg->offset + bytes; local in function:brw::detail::add_byte_offset
79 reg->nr += suboffset / REG_SIZE;
80 reg->offset = suboffset % REG_SIZE;
86 const unsigned suboffset = reg->subnr + bytes; local in function:brw::detail::add_byte_offset
87 reg->nr += suboffset / REG_SIZE;
88 reg->subnr = suboffset % REG_SIZE;
H A Dbrw_vec4_generator.cpp443 brw_MOV(p, suboffset(stride(dst, 2, 2, 1), 3),
446 brw_MUL(p, suboffset(stride(dst, 2, 2, 1), 3), stride(src0, 8, 2, 4),
480 suboffset(stride(retype(dst, BRW_REGISTER_TYPE_UW), 2, 2, 1), 4),
551 brw_MOV(p, suboffset(vec1(dst), 2), suboffset(vec1(src), 0));
565 dst = suboffset(vec1(dst), 4);
633 brw_OR(p, suboffset(vec1(dst), 21), vec1(src), suboffset(vec1(src), 16));
665 brw_AND(p, suboffset(vec1(dst), 0), suboffset(vec
[all...]
H A Dbrw_reg.h436 * keep track of as you'd want it adjusted by suboffset(), etc.
593 suboffset(struct brw_reg reg, unsigned delta) function in typeref:struct:brw_reg
602 return suboffset(retype(brw_vec16_reg(file, nr, 0), BRW_REGISTER_TYPE_UW), subnr);
609 return suboffset(retype(brw_vec8_reg(file, nr, 0), BRW_REGISTER_TYPE_UW), subnr);
616 return suboffset(retype(brw_vec1_reg(file, nr, 0), BRW_REGISTER_TYPE_UW), subnr);
1015 return suboffset(retype(spread(reg, scale), type), i);
1052 return vec1(suboffset(reg, elt));
1058 return vec1(suboffset(retype(reg, BRW_REGISTER_TYPE_UD), elt));
1064 return vec1(suboffset(retype(reg, BRW_REGISTER_TYPE_D), elt));
H A Dbrw_fs_visitor.cpp165 fs_reg(stride(suboffset(g1_uw, 4), 2, 4, 0)),
168 fs_reg(stride(suboffset(g1_uw, 5), 2, 4, 0)),
232 fs_reg(stride(suboffset(gi_uw, 4), 1, 4, 0)),
250 fs_reg(stride(suboffset(gi_uw, 4), 2, 4, 0)),
253 fs_reg(stride(suboffset(gi_uw, 5), 2, 4, 0)),
H A Dbrw_fs_generator.cpp556 brw_MOV(p, suboffset(dst, group), stride(suboffset(src, i), 0, 1, 0));
561 struct brw_reg group_idx = suboffset(idx, group);
608 struct brw_reg gdst = suboffset(dst, group);
616 brw_MOV(p, suboffset(dst, group),
649 const struct brw_reg src_0 = suboffset(src, BRW_GET_SWZ(swiz, 0));
676 p, stride(suboffset(dst, c),
678 stride(suboffset(src, BRW_GET_SWZ(swiz, c)), 4, 1, 0));
871 brw_inst *mac = brw_MAC(p, offset(dst, g), suboffset(interp, 1),
887 i[1] = brw_MAC(p, dst, suboffset(inter
[all...]
H A Dbrw_clip_util.c229 vec1(suboffset(t_nopersp, 1)));
H A Dbrw_fs_copy_propagation.cpp520 const unsigned suboffset = rel_offset % type_sz(entry->dst.type); local in function:fs_visitor::try_copy_propagate
523 * component and suboffset.
525 inst->src[arg].offset = suboffset +
H A Dbrw_eu_emit.c1173 inst = brw_MOV(p, suboffset(dst, 1), brw_imm_w(0));
2673 suboffset(vec1(retype(surface, BRW_REGISTER_TYPE_UD)),
3270 (align1 ? stride(suboffset(src, i), 0, 1, 0) :
3271 stride(suboffset(src, 4 * i), 0, 4, 1)));
3353 stride(suboffset(src, 4), 4, 4, 1),
H A Dbrw_compile_sf.c339 brw_MOV(p, vec2(suboffset(c->vert[i], 2)), vec2(c->z[i]));
H A Dbrw_vec4.cpp2637 *hw_reg = suboffset(*hw_reg, 2);
/xsrc/external/mit/MesaLib/dist/src/intel/compiler/
H A Dbrw_ir_vec4.h78 const unsigned suboffset = reg->offset + bytes; local in function:brw::detail::add_byte_offset
79 reg->nr += suboffset / REG_SIZE;
80 reg->offset = suboffset % REG_SIZE;
86 const unsigned suboffset = reg->subnr + bytes; local in function:brw::detail::add_byte_offset
87 reg->nr += suboffset / REG_SIZE;
88 reg->subnr = suboffset % REG_SIZE;
H A Dbrw_vec4_generator.cpp445 brw_MOV(p, suboffset(stride(dst, 2, 2, 1), 3),
451 brw_MUL(p, suboffset(stride(dst, 2, 2, 1), 3), stride(src0, 8, 2, 4),
480 suboffset(stride(retype(dst, BRW_REGISTER_TYPE_UW), 2, 2, 1), 4),
550 brw_MOV(p, suboffset(vec1(dst), 2), suboffset(vec1(src), 0));
564 dst = suboffset(vec1(dst), 4);
632 brw_OR(p, suboffset(vec1(dst), 21), vec1(src), suboffset(vec1(src), 16));
664 brw_AND(p, suboffset(vec1(dst), 0), suboffset(vec
[all...]
H A Dbrw_fs_visitor.cpp166 fs_reg(stride(suboffset(g1_uw, 4), 2, 4, 0)),
169 fs_reg(stride(suboffset(g1_uw, 5), 2, 4, 0)),
377 bld.SHR(half_int_pixel_offset_x, suboffset(r1_0, 0), brw_imm_ud(1));
378 bld.SHR(half_int_pixel_offset_y, suboffset(r1_0, 1), brw_imm_ud(1));
392 fs_reg(stride(suboffset(gi_uw, 4), 2, 8, 0)),
395 fs_reg(stride(suboffset(gi_uw, 5), 2, 8, 0)),
424 fs_reg(stride(suboffset(gi_uw, 4), 1, 4, 0)),
444 fs_reg(stride(suboffset(gi_uw, 4), 2, 4, 0)),
447 fs_reg(stride(suboffset(gi_uw, 5), 2, 4, 0)),
1061 stride(suboffset(retyp
[all...]
H A Dbrw_ir_fs.h84 const unsigned suboffset = reg.offset + delta; local in function:byte_offset
85 reg.nr += suboffset / REG_SIZE;
86 reg.offset = suboffset % REG_SIZE;
91 const unsigned suboffset = reg.subnr + delta; local in function:byte_offset
92 reg.nr += suboffset / REG_SIZE;
93 reg.subnr = suboffset % REG_SIZE;
H A Dbrw_nir_lower_rt_intrinsics.c158 unsigned suboffset = offset % 64; local in function:lower_rt_intrinsics_impl
159 uint64_t aligned_offset = offset - suboffset;
171 sysval = nir_extract_bits(b, data, 2, suboffset * 8,
H A Dbrw_reg.h429 * keep track of as you'd want it adjusted by suboffset(), etc.
586 suboffset(struct brw_reg reg, unsigned delta) function in typeref:struct:brw_reg
595 return suboffset(retype(brw_vec16_reg(file, nr, 0), BRW_REGISTER_TYPE_UW), subnr);
602 return suboffset(retype(brw_vec8_reg(file, nr, 0), BRW_REGISTER_TYPE_UW), subnr);
609 return suboffset(retype(brw_vec1_reg(file, nr, 0), BRW_REGISTER_TYPE_UW), subnr);
937 return suboffset(retype(brw_vec16_reg(BRW_ARCHITECTURE_REGISTER_FILE,
1029 return suboffset(retype(spread(reg, scale), type), i);
1066 return vec1(suboffset(reg, elt));
1072 return vec1(suboffset(retype(reg, BRW_REGISTER_TYPE_UD), elt));
1078 return vec1(suboffset(retyp
[all...]
H A Dbrw_fs_generator.cpp633 struct brw_reg group_src = stride(suboffset(src, i), 0, 1, 0);
634 struct brw_reg group_dst = suboffset(dst, group);
648 struct brw_reg group_idx = suboffset(idx, group);
736 struct brw_reg gdst = suboffset(dst, group);
746 brw_MOV(p, suboffset(dst, group * dst.hstride),
781 const struct brw_reg src_0 = suboffset(src, BRW_GET_SWZ(swiz, 0));
808 p, stride(suboffset(dst, c),
810 stride(suboffset(src, BRW_GET_SWZ(swiz, c)), 4, 1, 0));
1008 brw_inst *mac = brw_MAC(p, offset(dst, g), suboffset(interp, 1),
1024 i[1] = brw_MAC(p, dst, suboffset(inter
[all...]
H A Dbrw_clip_util.c229 vec1(suboffset(t_nopersp, 1)));
H A Dbrw_fs_copy_propagation.cpp690 const unsigned suboffset = rel_offset % type_sz(entry->dst.type); local in function:fs_visitor::try_copy_propagate
693 * component and suboffset.
696 component * entry_stride * type_sz(entry->src.type) + suboffset);
H A Dbrw_eu_emit.c1289 inst = brw_MOV(p, suboffset(dst, 1), brw_imm_w(0));
2876 suboffset(vec1(retype(surface, BRW_REGISTER_TYPE_UD)),
3487 src = align1 ? stride(suboffset(src, i), 0, 1, 0) :
3488 stride(suboffset(src, 4 * i), 0, 4, 1);
3585 stride(suboffset(src, 4), 4, 4, 1),
H A Dbrw_compile_sf.c339 brw_MOV(p, vec2(suboffset(c->vert[i], 2)), vec2(c->z[i]));
/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/
H A Dir_constant_expression.cpp446 int suboffset; local in function:constant_referenced
452 if (!constant_referenced(deref, variable_context, substore, suboffset))
464 offset = suboffset + index;
479 int suboffset; local in function:constant_referenced
481 if (!constant_referenced(deref, variable_context, substore, suboffset))
486 assert(suboffset == 0);
/xsrc/external/mit/MesaLib/dist/src/compiler/glsl/
H A Dir_constant_expression.cpp504 int suboffset; local in function:constant_referenced
510 if (!constant_referenced(deref, variable_context, substore, suboffset))
522 offset = suboffset + index;
537 int suboffset; local in function:constant_referenced
539 if (!constant_referenced(deref, variable_context, substore, suboffset))
544 assert(suboffset == 0);

Completed in 70 milliseconds

12