Home
last modified time | relevance | path

Searched refs:offset_const (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/compiler/nir/
Dnir_lower_atomics.c105 nir_load_const_instr *offset_const = in lower_instr() local
107 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()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_fs_nir.cpp1938 nir_const_value *offset_const = nir_src_as_const_value(offset_src); in emit_gs_input_load() local
1949 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()