glsl: Don't pass NULL to ir_assignment constructor when not necessary
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 18 Sep 2017 20:30:51 +0000 (15:30 -0500)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 2 Oct 2017 21:46:02 +0000 (14:46 -0700)
commit6d1765c63aed1b814b29051c702f8e79ead6dbed
treecd8acdee3c4414b68c940bc6ab6e2f54369aa1b6
parent3cc997c7c81759446f4478d70252015fbe0ed9f5
glsl: Don't pass NULL to ir_assignment constructor when not necessary

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
src/compiler/glsl/ast_function.cpp
src/compiler/glsl/ir_expression_flattening.cpp
src/compiler/glsl/lower_discard.cpp
src/compiler/glsl/lower_instructions.cpp
src/compiler/glsl/lower_jumps.cpp
src/compiler/glsl/lower_texture_projection.cpp
src/compiler/glsl/opt_function_inlining.cpp
src/compiler/glsl/opt_structure_splitting.cpp