From: Jason Ekstrand Date: Mon, 2 Apr 2018 23:48:59 +0000 (-0700) Subject: intel/blorp: Stop setting tex->texture/sampler X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3891c1906fa017d82a4bae5e4db2ef09b02f89e9;p=mesa.git intel/blorp: Stop setting tex->texture/sampler nir_tex_instr_create uses rzalloc so it's already NULL Acked-by: Rob Clark Acked-by: Bas Nieuwenhuizen Acked-by: Dave Airlie Reviewed-by: Kenneth Graunke --- diff --git a/src/intel/blorp/blorp_blit.c b/src/intel/blorp/blorp_blit.c index c3a093c400b..b144bddaf5d 100644 --- a/src/intel/blorp/blorp_blit.c +++ b/src/intel/blorp/blorp_blit.c @@ -178,8 +178,6 @@ blorp_create_nir_tex_instr(nir_builder *b, struct brw_blorp_blit_vars *v, tex->is_shadow = false; /* Blorp only has one texture and it's bound at unit 0 */ - tex->texture = NULL; - tex->sampler = NULL; tex->texture_index = 0; tex->sampler_index = 0;