glsl: Remove unnecessary assignments to type
authorIan Romanick <ian.d.romanick@intel.com>
Sat, 6 Jan 2018 01:50:24 +0000 (17:50 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 10 Jan 2018 15:21:11 +0000 (07:21 -0800)
commita170f279581fc0cbdd112a1e01d37e8858895bb3
tree5d3186f0f21ba61042da420e9a35967f1576e157
parentfd2f4f507fe863567045b9a60c7fca71d73fcd8b
glsl: Remove unnecessary assignments to type

None of these are necessary because result->type is the only thing used
outside the giant switch-statement.

CID: 12309831230984
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
src/compiler/glsl/ast_to_hir.cpp