OSDN Git Service

glsl: Handle packed_type == ivec4[] in lower_packed_varyings().
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 11 Feb 2017 08:25:57 +0000 (00:25 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 14 Feb 2017 22:47:40 +0000 (14:47 -0800)
commita3e4fa5495abd12d19c35a23156dbf8898049830
tree7b64c23232f706a657e729e2e536223e4db8e2b3
parentf434a60a538bb3b8813f3bdcaa55e34a67279dee
glsl: Handle packed_type == ivec4[] in lower_packed_varyings().

For GS input arrays, we may turn a packed_type of ivec4 into an
array of ivec4s.  We still want flat qualification.

Found by inspection.  Not known to help anything.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
src/compiler/glsl/lower_packed_varyings.cpp