From 3891c1906fa017d82a4bae5e4db2ef09b02f89e9 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Mon, 2 Apr 2018 16:48:59 -0700 Subject: 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 --- src/intel/blorp/blorp_blit.c | 2 -- 1 file changed, 2 deletions(-) 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; -- cgit v1.2.3