nv50/ir/tgsi: move call to tgsi_scan_shader inside Source constructor
authorKarol Herbst <kherbst@redhat.com>
Fri, 10 Jul 2020 18:23:42 +0000 (20:23 +0200)
committerMarge Bot <eric+marge@anholt.net>
Fri, 10 Jul 2020 21:52:40 +0000 (21:52 +0000)
commit033e933348cbed141401b1025d658f5d9b1a8a53
treecacf316281c132c286c48713797cbdb788d8d072
parentc905e485936432e2db6d16403076761dd5d25d41
nv50/ir/tgsi: move call to tgsi_scan_shader inside Source constructor

We actually need it there already, we just missed to move it.

Fixes: 66ed9792edb702 ("nv50: Clear nv50_ir_prog_info of dead and codegen specific variables")
Signed-off-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5849>
src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp