glsl: restrict indexing for writes to TCS outputs to gl_InvocationID
authorChris Forbes <chrisf@ijw.co.nz>
Sun, 31 Aug 2014 07:35:46 +0000 (19:35 +1200)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 22 Jul 2015 22:59:28 +0000 (00:59 +0200)
commitd563946a4064d50f6fa7ce5e9e8ccb1479d1205e
tree025f46362bc4cc0f77f4640381df60994187b274
parentda7adb99e85fc6efa7f0e570ab93bd7b625975ae
glsl: restrict indexing for writes to TCS outputs to gl_InvocationID

Marek: handle ir_swizzle

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/ast_to_hir.cpp