Revert "nir: Drop the unused instr arg for src/dest copy functions."
This reverts commit c3a01841184ee8303c0c5ebe58491301622c5ad6. Acked-by: Alyssa Rosenzweig <alyssa@collabora.com> Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com> Reviewed-by: Emma Anholt <emma@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12910>
This commit is contained in:
@@ -1137,8 +1137,8 @@ nir_is_sequential_comp_swizzle(uint8_t *swiz, unsigned nr_comp)
|
||||
return true;
|
||||
}
|
||||
|
||||
void nir_src_copy(nir_src *dest, const nir_src *src);
|
||||
void nir_dest_copy(nir_dest *dest, const nir_dest *src);
|
||||
void nir_src_copy(nir_src *dest, const nir_src *src, void *instr_or_if);
|
||||
void nir_dest_copy(nir_dest *dest, const nir_dest *src, nir_instr *instr);
|
||||
|
||||
typedef struct {
|
||||
/** Base source */
|
||||
@@ -1472,8 +1472,10 @@ typedef struct nir_alu_instr {
|
||||
nir_alu_src src[];
|
||||
} nir_alu_instr;
|
||||
|
||||
void nir_alu_src_copy(nir_alu_src *dest, const nir_alu_src *src);
|
||||
void nir_alu_dest_copy(nir_alu_dest *dest, const nir_alu_dest *src);
|
||||
void nir_alu_src_copy(nir_alu_src *dest, const nir_alu_src *src,
|
||||
nir_alu_instr *instr);
|
||||
void nir_alu_dest_copy(nir_alu_dest *dest, const nir_alu_dest *src,
|
||||
nir_alu_instr *instr);
|
||||
|
||||
bool nir_alu_instr_is_copy(nir_alu_instr *instr);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user