freedreno: Remove silly return from ir3_optimize_nir().
authorEric Anholt <eric@anholt.net>
Wed, 5 Jun 2019 18:43:13 +0000 (11:43 -0700)
committerEric Anholt <eric@anholt.net>
Sat, 22 Jun 2019 00:14:43 +0000 (17:14 -0700)
commit01d0bad9efa1973293920f3c2bae78fca807f204
treebf6bd88e7bdc3da2a01d51c3b989d0a2be6563d6
parent56842d33d53f3ea76b9359e8ead2ea4487e62dc1
freedreno: Remove silly return from ir3_optimize_nir().

We only ever return the shader we were passed in (but internally
modified).

Reviewed-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
src/freedreno/ir3/ir3_context.c
src/freedreno/ir3/ir3_nir.c
src/freedreno/ir3/ir3_nir.h
src/freedreno/ir3/ir3_shader.c
src/gallium/drivers/freedreno/ir3/ir3_cmdline.c