Searched refs:field_offset (Results 1 - 12 of 12) sorted by relevance

/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_lower_printf.c112 unsigned field_offset = glsl_get_struct_field_offset(args->type, i); local in function:lower_printf_instr
115 fmt_str_id_size + field_offset),
121 assert(field_offset % 4 == 0);
H A Dnir_lower_io.c228 unsigned field_offset = 0; local in function:get_io_offset
230 field_offset += type_size(glsl_get_struct_field(parent->type, i), bts);
232 offset = nir_iadd_imm(b, offset, field_offset);
2410 const int field_offset = glsl_get_struct_field_offset(type, i); local in function:write_constant
2411 assert(field_offset >= 0 && field_offset < dst_size);
2413 write_constant((char *)dst + field_offset, dst_size - field_offset,
H A Dnir_deref.c347 unsigned field_offset = local in function:nir_build_deref_offset
350 offset = nir_iadd_imm(b, offset, field_offset);
/xsrc/external/mit/MesaLib/dist/src/compiler/glsl/
H A Dlower_buffer_access.cpp67 unsigned int field_offset = 0; local in function:lower_buffer_access::lower_buffer_access::emit_access
81 field_offset = glsl_align(field_offset, field_align);
84 deref_offset + field_offset,
89 field_offset += field->type->std430_size(row_major);
91 field_offset += field->type->std140_size(row_major);
/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/
H A Dlower_buffer_access.cpp67 unsigned int field_offset = 0; local in function:lower_buffer_access::lower_buffer_access::emit_access
81 field_offset = glsl_align(field_offset, field_align);
84 deref_offset + field_offset,
89 field_offset += field->type->std430_size(row_major);
91 field_offset += field->type->std140_size(row_major);
/xsrc/external/mit/MesaLib/dist/src/intel/perf/
H A Dintel_perf_query.c59 static uint32_t field_offset(bool end, uint32_t offset) function in typeref:typename:uint32_t
1092 start = last = query->oa.map + field_offset(false, 0);
1093 end = query->oa.map + field_offset(true, 0);
1283 start = last = query->oa.map + field_offset(false, 0);
1284 end = query->oa.map + field_offset(true, 0);
/xsrc/external/mit/MesaLib/dist/src/asahi/lib/
H A Dgen_pack.py337 field_offset = offset + field.start
341 self.collect_fields(sub_struct.fields, field_offset, field_path + '.', all_fields)
344 start = field_offset
/xsrc/external/mit/MesaLib/dist/src/compiler/spirv/
H A Dvtn_opencl.c797 unsigned field_offset = 0; local in function:handle_printf
805 field_offset = align(field_offset, 4);
806 fields[i - 1].offset = field_offset;
808 field_offset += glsl_get_cl_size(src_type->type);
/xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/
H A Dnir_deref.c212 unsigned field_offset = local in function:nir_build_deref_offset
215 offset = nir_iadd_imm(b, offset, field_offset);
H A Dnir_lower_io.c189 unsigned field_offset = 0; local in function:get_io_offset
191 field_offset += type_size(glsl_get_struct_field(parent->type, i), bts);
193 offset = nir_iadd_imm(b, offset, field_offset);
/xsrc/external/mit/MesaLib/dist/src/panfrost/lib/genxml/
H A Dgen_pack.py448 field_offset = offset + field.start
452 self.collect_fields(sub_struct.fields, field_offset, field_path + '.', all_fields)
455 start = field_offset
/xsrc/external/mit/MesaLib/dist/src/microsoft/compiler/
H A Dnir_to_dxil.c1050 unsigned field_offset = glsl_get_struct_field_offset(type, elt); local in function:var_fill_const_array
1054 offset + field_offset);

Completed in 27 milliseconds