Lines Matching defs:shader
36 /* True if we are cloning an entire shader. */
52 /* new shader object, used as memctx for just about everything else: */
152 nir_variable_clone(const nir_variable *var, nir_shader *shader)
154 nir_variable *nvar = rzalloc(shader, nir_variable);
298 nir_alu_instr_clone(nir_shader *shader, const nir_alu_instr *orig)
302 .ns = shader,
447 * shader's use-def lists, we have to add the phi instruction *before* we
518 nir_instr_clone(nir_shader *shader, const nir_instr *orig)
522 .ns = shader,
528 nir_instr_clone_deep(nir_shader *shader, const nir_instr *orig,
533 .ns = shader,
665 /* We use the same shader */
666 state.ns = src->impl->function->shader;
708 nir_function_impl_clone(nir_shader *shader, const nir_function_impl *fi)
713 state.ns = shader;
836 function->shader = dst;