From: Alyssa Rosenzweig Date: Wed, 21 Aug 2019 17:51:35 +0000 (-0700) Subject: nir: Remove nir_const_load_to_arr X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a8f86fcb512f1cb0a8cd834df0e1eba42edf9c05;p=mesa.git nir: Remove nir_const_load_to_arr There are no remaining users in-tree. Signed-off-by: Alyssa Rosenzweig Reviewed-by: Caio Marcelo de Oliveira Filho --- diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h index 0462fd89a04..5149a0e8c01 100644 --- a/src/compiler/nir/nir.h +++ b/src/compiler/nir/nir.h @@ -1912,11 +1912,6 @@ typedef struct { nir_const_value value[]; } nir_load_const_instr; -#define nir_const_load_to_arr(arr, l, m) \ -{ \ - nir_const_value_to_array(arr, l->value, l->def.num_components, m); \ -} while (false); - typedef enum { nir_jump_return, nir_jump_break,