Searched refs:attr_offset (Results 1 – 3 of 3) sorted by relevance
/third_party/mesa3d/src/freedreno/ir3/ |
D | ir3_nir_lower_tess.c | 136 nir_ssa_def *attr_offset; in build_local_offset() local 144 attr_offset = nir_imm_int(b, state->map.loc[index] + 4 * comp); in build_local_offset() 149 attr_offset = nir_iadd(b, nir_load_primitive_location_ir3(b, index), in build_local_offset() 160 nir_iadd(b, attr_offset, nir_ishl(b, offset, nir_imm_int(b, 4)))); in build_local_offset() 413 nir_ssa_def *attr_offset; in build_per_vertex_offset() local 430 attr_offset = nir_imm_int(b, state->map.loc[index] + comp); in build_per_vertex_offset() 433 attr_offset = nir_iadd(b, nir_load_primitive_location_ir3(b, index), in build_per_vertex_offset() 440 attr_offset = nir_iadd(b, attr_offset, in build_per_vertex_offset() 447 attr_offset = nir_iadd(b, nir_imm_int(b, index * 4 + comp), offset); in build_per_vertex_offset() 451 return nir_iadd(b, nir_iadd(b, patch_offset, attr_offset), vertex_offset); in build_per_vertex_offset()
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_shader_llvm_vs.c | 780 LLVMValueRef attr_offset = LLVMBuildShl(ctx->ac.builder, in si_llvm_build_vs_exports() local 789 soffset[i] = LLVMBuildAdd(ctx->ac.builder, attr_offset, in si_llvm_build_vs_exports()
|
/third_party/mesa3d/src/mesa/vbo/ |
D | vbo_save_api.c | 551 unsigned attr_offset = save->attrsz[0] * sizeof(GLfloat); in compile_vertex_list() local 557 memcpy(node->cold->current_data, buffer + vertex_offset + attr_offset, in compile_vertex_list()
|