glsl: simplify an assertion in lower_ubo_reference
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Mon, 15 May 2017 06:34:24 +0000 (08:34 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Tue, 13 Jun 2017 07:35:53 +0000 (09:35 +0200)
commit8dddb9788a2e9aa6b52b0eb9474d015b0262062e
treebcacc7dfd781a1f6d7bf0b7a6a80751a5e44b92e
parentde32c8378cd2ba8d6a16351ccac1ae42fee60b77
glsl: simplify an assertion in lower_ubo_reference

Struct types are now equal when they're structurally equal.

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