Lines Matching refs:store
369 nir_lower_blend_store(nir_builder *b, nir_intrinsic_instr *store,
372 assert(store->intrinsic == nir_intrinsic_store_deref);
374 nir_variable *var = nir_intrinsic_get_var(store, 0);
381 b->cursor = nir_before_instr(&store->instr);
386 assert(store->src[1].is_ssa);
387 nir_ssa_def *src = nir_pad_vector(b, store->src[1].ssa, 4);
410 /* Shave off any components we don't want to store */
413 /* Grow or shrink the store destination as needed */
414 assert(nir_intrinsic_write_mask(store) ==
415 nir_component_mask(store->num_components));
416 store->num_components = num_components;
417 store->dest.ssa.num_components = num_components;
418 nir_intrinsic_set_write_mask(store, nir_component_mask(num_components));
421 nir_instr_rewrite_src_ssa(&store->instr, &store->src[1], blended);