Lines Matching refs:lc
551 write_load_const(write_ctx *ctx, const nir_load_const_instr *lc)
553 uint32_t val = lc->def.num_components;
554 val |= lc->def.bit_size << 3;
556 blob_write_bytes(ctx->blob, lc->value, sizeof(*lc->value) * lc->def.num_components);
557 write_add_object(ctx, &lc->def);
565 nir_load_const_instr *lc =
568 blob_copy_bytes(ctx->blob, lc->value, sizeof(*lc->value) * lc->def.num_components);
569 read_add_object(ctx, &lc->def);
570 return lc;