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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user