Home | History | Annotate | Download | only in compiler

Lines Matching refs:const_offset

2419       nir_const_value *const_offset = nir_src_as_const_value(instr->src[0]);
2420 assert(const_offset && "Indirect input loads not allowed");
2421 src = offset(src, bld, const_offset->u32[0]);
3242 const nir_const_value *const_offset = nir_src_as_const_value(instr->src[1]);
3243 assert(const_offset && "Indirect output stores not allowed");
3245 SET_FIELD(const_offset->u32[0], BRW_NIR_FRAG_OUTPUT_LOCATION);
3260 nir_const_value *const_offset = nir_src_as_const_value(instr->src[0]);
3261 assert(const_offset && "Indirect output loads not allowed");
3262 const unsigned target = l - FRAG_RESULT_DATA0 + const_offset->u32[0];
3420 nir_const_value *const_offset = nir_src_as_const_value(instr->src[0]);
3422 if (const_offset) {
3423 unsigned off_x = MIN2((int)(const_offset->f32[0] * 16), 7) & 0xf;
3424 unsigned off_y = MIN2((int)(const_offset->f32[1] * 16), 7) & 0xf;
3617 nir_const_value *const_offset = nir_src_as_const_value(instr->src[0]);
3618 if (const_offset) {
3619 offset_reg = brw_imm_ud(instr->const_index[0] + const_offset->u32[0]);
3677 nir_const_value *const_offset = nir_src_as_const_value(instr->src[1]);
3678 if (const_offset) {
3679 offset_reg = brw_imm_ud(instr->const_index[0] + const_offset->u32[0] +
3873 nir_const_value *const_offset = nir_src_as_const_value(instr->src[0]);
3874 if (const_offset) {
3876 assert(const_offset->u32[0] % 4 == 0);
3877 src.offset = const_offset->u32[0];
3953 nir_const_value *const_offset = nir_src_as_const_value(instr->src[1]);
3954 if (const_offset == NULL) {
3975 const unsigned offset_256b = const_offset->u32[0] / 32;
3985 push_reg.offset = const_offset->u32[0] - 32 * range->start;
4004 const unsigned base = const_offset->u32[0] + c * type_size;
4052 nir_const_value *const_offset = nir_src_as_const_value(instr->src[1]);
4053 if (const_offset) {
4054 offset_reg = brw_imm_ud(const_offset->u32[0]);
4164 nir_const_value *const_offset = nir_src_as_const_value(instr->src[2]);
4165 if (const_offset) {
4166 offset_reg = brw_imm_ud(const_offset->u32[0] +
4223 nir_const_value *const_offset = nir_src_as_const_value(instr->src[1]);
4224 assert(const_offset && "Indirect output stores not allowed");
4234 4 * const_offset->u32[0]), src.type);
4527 nir_const_value *const_offset = nir_src_as_const_value(instr->src[0]);
4528 if (const_offset) {
4529 offset = brw_imm_ud(instr->const_index[0] + const_offset->u32[0]);
4617 nir_const_value *const_offset =
4620 if (const_offset &&
4621 brw_texture_offset(const_offset->i32,