[Mesa-dev] [PATCH] nir: Use pointers for nir_src_copy and nir_dest_copy
Eric Anholt
eric at anholt.net
Mon Jan 26 10:45:47 PST 2015
Jason Ekstrand <jason at jlekstrand.net> writes:
> @@ -563,7 +557,7 @@ copy_deref_array(void *mem_ctx, nir_deref_array *deref)
> ret->base_offset = deref->base_offset;
> ret->deref_array_type = deref->deref_array_type;
> if (deref->deref_array_type == nir_deref_array_type_indirect) {
> - ret->indirect = nir_src_copy(deref->indirect, mem_ctx);
> + nir_src_copy(&ret->indirect, &deref->indirect, mem_ctx);
> }
> ret->deref.type = deref->deref.type;
> if (deref->deref.child)
Unintentional whitespace change?
Other than that,
Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150126/7b55fcdd/attachment.sig>
More information about the mesa-dev
mailing list