Searched refs:offset_const (Results 1 – 2 of 2) sorted by relevance
105 nir_load_const_instr *offset_const = in lower_instr() local107 offset_const->value.u32[0] = instr->variables[0]->var->data.offset; in lower_instr()109 nir_instr_insert_before(&instr->instr, &offset_const->instr); in lower_instr()111 nir_ssa_def *offset_def = &offset_const->def; in lower_instr()121 offset_const->value.u32[0] += deref_array->base_offset * in lower_instr()
1938 nir_const_value *offset_const = nir_src_as_const_value(offset_src); in emit_gs_input_load() local1949 offset_const != NULL && vertex_const != NULL && in emit_gs_input_load()1950 4 * (base_offset + offset_const->u32[0]) < push_reg_count) { in emit_gs_input_load()1951 int imm_offset = (base_offset + offset_const->u32[0]) * 4 + in emit_gs_input_load()2066 if (offset_const) { in emit_gs_input_load()2084 inst->offset = base_offset + offset_const->u32[0]; in emit_gs_input_load()2122 if(offset_const) { in emit_gs_input_load()