[Mesa-dev] [PATCH v3 066/104] intel/blorp: Stop setting tex->texture/sampler
Jason Ekstrand
jason at jlekstrand.net
Tue Apr 3 18:33:33 UTC 2018
nir_tex_instr_create uses rzalloc so it's already NULL
---
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 0757db0..11aa029 100644
--- a/src/intel/blorp/blorp_blit.c
+++ b/src/intel/blorp/blorp_blit.c
@@ -176,8 +176,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;
--
2.5.0.400.gff86faf
More information about the mesa-dev
mailing list