Lines Matching refs:deref_array
373 const nir_deref_array *deref_array = nir_deref_as_array(d); in write_deref_chain() local
374 blob_write_uint32(ctx->blob, deref_array->deref_array_type); in write_deref_chain()
375 blob_write_uint32(ctx->blob, deref_array->base_offset); in write_deref_chain()
376 if (deref_array->deref_array_type == nir_deref_array_type_indirect) in write_deref_chain()
377 write_src(ctx, &deref_array->indirect); in write_deref_chain()
407 nir_deref_array *deref_array = nir_deref_array_create(tail); in read_deref_chain() local
408 deref_array->deref_array_type = blob_read_uint32(ctx->blob); in read_deref_chain()
409 deref_array->base_offset = blob_read_uint32(ctx->blob); in read_deref_chain()
410 if (deref_array->deref_array_type == nir_deref_array_type_indirect) in read_deref_chain()
411 read_src(ctx, &deref_array->indirect, mem_ctx); in read_deref_chain()
412 deref = &deref_array->deref; in read_deref_chain()