OSDN Git Service

glsl/linker: refactor check_location_aliasing
authorIago Toral Quiroga <itoral@igalia.com>
Wed, 25 Oct 2017 06:45:24 +0000 (08:45 +0200)
committerIago Toral Quiroga <itoral@igalia.com>
Thu, 26 Oct 2017 06:40:14 +0000 (08:40 +0200)
commit7276ccf8edb0a1ba610cc07edf73b1f0cecaa1f6
tree5d54c7d5d5c72f2b8cd763ccc5f179845d625ef8
parente2abb75b0e4c2e38120316c4f3cc4cde44497330
glsl/linker: refactor check_location_aliasing

Mostly, this merges the type checks with all the other checks so
we only have a single loop for this.

Acked-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/compiler/glsl/link_varyings.cpp