summaryrefslogtreecommitdiffstats
path: root/src/glsl/nir/nir.c
diff options
context:
space:
mode:
authorConnor Abbott <[email protected]>2015-06-24 12:55:41 -0700
committerConnor Abbott <[email protected]>2015-06-30 11:18:27 -0700
commitaa7d4cecec1a1236d237b83ebf035285f438ee67 (patch)
treecb7093704c0bb9c8ce5d1869dc65a3e8c11eb9e8 /src/glsl/nir/nir.c
parentf49e51ef44ac6400967731b75db871129b6c45f5 (diff)
nir: remove parent_instr from nir_register
It's no longer used. Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/glsl/nir/nir.c')
-rw-r--r--src/glsl/nir/nir.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/glsl/nir/nir.c b/src/glsl/nir/nir.c
index f03e80a4e0e..f661249f9bb 100644
--- a/src/glsl/nir/nir.c
+++ b/src/glsl/nir/nir.c
@@ -57,7 +57,6 @@ reg_create(void *mem_ctx, struct exec_list *list)
{
nir_register *reg = ralloc(mem_ctx, nir_register);
- reg->parent_instr = NULL;
list_inithead(&reg->uses);
list_inithead(&reg->defs);
list_inithead(&reg->if_uses);