intel/blorp: Stop setting tex->texture/sampler

nir_tex_instr_create uses rzalloc so it's already NULL

Acked-by: Rob Clark <robdclark@gmail.com>
Acked-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Acked-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
Jason Ekstrand 2018-04-02 16:48:59 -07:00
parent 606eb56ab9
commit 3891c1906f

View file

@ -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;