glsl: remove redundant record_compare check when linking globals
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Sun, 14 May 2017 18:06:35 +0000 (20:06 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Tue, 13 Jun 2017 07:35:45 +0000 (09:35 +0200)
commitf97c92ae11916cc7984144c0e13a66854b10b5c1
tree7228c14d2da493f8048aaf43d0712ececddadfd9
parent835b1435f22dda28c6d9309eef13010f4db54381
glsl: remove redundant record_compare check when linking globals

Unnamed struct types are now equal across stages based on the fields they
contain, so overriding the type to make sure names match has become
unnecessary.

The check was originally introduced in commit 955c93dc089f ("glsl: Match
unnamed record types across stages.")

v2: clarify the commit message

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/compiler/glsl/linker.cpp