glsl: Delete bogus ir_set_program_inouts assert.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 28 Oct 2015 23:39:11 +0000 (16:39 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 8 Aug 2016 06:51:21 +0000 (23:51 -0700)
commit4a49851da140fedf0e133034a202570725ad03a9
tree46b068df8879d9a09060e5531f6d8052e7a40544
parent86915b495b2fefa671750b24eda0225000ccbb9e
glsl: Delete bogus ir_set_program_inouts assert.

This assertion is bogus.  Varying structs, and arrays of structs, are
allowed by GLSL, and we can see them here.  While we currently don't
have any partial-variable support for those, simply returning false
and marking the entire thing as used is certainly legitimate.

I believe this is often swept under the rug by varying packing,
but that's disabled in certain tessellation situations.

Hit by 20 dEQP-GLES31.functional.tessellation.user_defined_io.* tests.

Cc: mesa-stable@lists.freedesktop.org
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
src/compiler/glsl/ir_set_program_inouts.cpp