• Home
  • Raw
  • Download

Lines Matching refs:parts

36    blob_init(&c->parts);  in dxil_container_init()
43 blob_finish(&c->parts); in dxil_container_finish()
51 assert(c->parts.size < UINT_MAX); in add_part_header()
52 unsigned offset = (unsigned)c->parts.size; in add_part_header()
53 if (!blob_write_bytes(&c->parts, &fourcc, sizeof(fourcc)) || in add_part_header()
54 !blob_write_bytes(&c->parts, &part_size, sizeof(part_size))) in add_part_header()
68 blob_write_bytes(&c->parts, part_data, part_size); in add_part()
163 !blob_write_bytes(&c->parts, &header, sizeof(header))) { in dxil_container_add_io_signature()
171 if (!blob_write_bytes(&c->parts, &io_data[i].elements[j], in dxil_container_add_io_signature()
180 if (!blob_write_bytes(&c->parts, names->buf, names->length)) in dxil_container_add_io_signature()
239 if (!blob_write_bytes(&c->parts, &psv1_size, sizeof(psv1_size))) in dxil_container_add_state_validation()
242 if (!blob_write_bytes(&c->parts, &state->state, psv1_size)) in dxil_container_add_state_validation()
245 if (!blob_write_bytes(&c->parts, &resource_count, sizeof(resource_count))) in dxil_container_add_state_validation()
249 if (!blob_write_bytes(&c->parts, &resource_bind_info_size, sizeof(resource_bind_info_size)) || in dxil_container_add_state_validation()
250 … !blob_write_bytes(&c->parts, state->resources, resource_bind_info_size * state->num_resources)) in dxil_container_add_state_validation()
256 if (!blob_write_bytes(&c->parts, &string_table_size, sizeof(string_table_size)) || in dxil_container_add_state_validation()
257 !blob_write_bytes(&c->parts, m->sem_string_table->buf, m->sem_string_table->length) || in dxil_container_add_state_validation()
258 !blob_write_bytes(&c->parts, &fill, string_table_size - m->sem_string_table->length)) in dxil_container_add_state_validation()
262 if (!blob_write_bytes(&c->parts, &m->sem_index_table.size, sizeof(uint32_t))) in dxil_container_add_state_validation()
266 if (!blob_write_bytes(&c->parts, m->sem_index_table.data, in dxil_container_add_state_validation()
272 if (!blob_write_bytes(&c->parts, &dxil_pvs_sig_size, sizeof(dxil_pvs_sig_size))) in dxil_container_add_state_validation()
275 if (!blob_write_bytes(&c->parts, &m->psv_inputs, dxil_pvs_sig_size * m->num_sig_inputs)) in dxil_container_add_state_validation()
278 if (!blob_write_bytes(&c->parts, &m->psv_outputs, dxil_pvs_sig_size * m->num_sig_outputs)) in dxil_container_add_state_validation()
289 blob_write_uint8(&c->parts, 0); in dxil_container_add_state_validation()
311 blob_write_bytes(&c->parts, &version, sizeof(version)) && in dxil_container_add_module()
312 blob_write_bytes(&c->parts, &uint32_size, sizeof(uint32_size)) && in dxil_container_add_module()
313 blob_write_bytes(&c->parts, &magic, sizeof(magic)) && in dxil_container_add_module()
314 blob_write_bytes(&c->parts, &dxil_version, sizeof(dxil_version)) && in dxil_container_add_module()
315 blob_write_bytes(&c->parts, &bitcode_offset, sizeof(bitcode_offset)) && in dxil_container_add_module()
316 blob_write_bytes(&c->parts, &bitcode_size, sizeof(bitcode_size)) && in dxil_container_add_module()
317 blob_write_bytes(&c->parts, m->buf.blob.data, m->buf.blob.size); in dxil_container_add_module()
338 size_t size = header_size + c->parts.size; in dxil_container_write()
353 !blob_write_bytes(blob, c->parts.data, c->parts.size)) in dxil_container_write()