Home
last modified time | relevance | path

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

/third_party/mesa3d/src/freedreno/ir3/
Dir3_nir_lower_tess.c121 nir_ssa_def *attr_offset; in build_local_offset() local
129 attr_offset = nir_imm_int(b, state->map.loc[index] + 4 * comp); in build_local_offset()
134 attr_offset = nir_iadd(b, nir_load_primitive_location_ir3(b, index), in build_local_offset()
145 nir_iadd(b, attr_offset, nir_ishl(b, offset, nir_imm_int(b, 4)))); in build_local_offset()
398 nir_ssa_def *attr_offset; in build_per_vertex_offset() local
415 attr_offset = nir_imm_int(b, state->map.loc[index] + comp); in build_per_vertex_offset()
418 attr_offset = nir_iadd(b, nir_load_primitive_location_ir3(b, index), in build_per_vertex_offset()
425 attr_offset = nir_iadd(b, attr_offset, in build_per_vertex_offset()
432 attr_offset = nir_iadd(b, nir_imm_int(b, index * 4 + comp), offset); in build_per_vertex_offset()
436 return nir_iadd(b, nir_iadd(b, patch_offset, attr_offset), vertex_offset); in build_per_vertex_offset()
/third_party/mesa3d/src/mesa/vbo/
Dvbo_save_api.c560 unsigned attr_offset = save->attrsz[0] * sizeof(GLfloat); in compile_vertex_list() local
566 memcpy(node->cold->current_data, buffer + vertex_offset + attr_offset, in compile_vertex_list()