summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2018-04-02 16:48:59 -0700
committerJason Ekstrand <[email protected]>2018-06-22 20:54:00 -0700
commit3891c1906fa017d82a4bae5e4db2ef09b02f89e9 (patch)
treeaf17d2c7e1ba00f8b01cd2b00787a83a3ae9132d
parent606eb56ab9449b39a9b31355d30a7cee9c24fb0a (diff)
intel/blorp: Stop setting tex->texture/sampler
nir_tex_instr_create uses rzalloc so it's already NULL Acked-by: Rob Clark <[email protected]> Acked-by: Bas Nieuwenhuizen <[email protected]> Acked-by: Dave Airlie <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
-rw-r--r--src/intel/blorp/blorp_blit.c2
1 files changed, 0 insertions, 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;