mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 06:30:10 +01:00
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:
parent
606eb56ab9
commit
3891c1906f
1 changed files with 0 additions and 2 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue