OSDN Git Service

glsl: Validate vertex emission in geometry shaders.
authorIago Toral Quiroga <itoral@igalia.com>
Mon, 16 Jun 2014 14:09:53 +0000 (16:09 +0200)
committerIago Toral Quiroga <itoral@igalia.com>
Mon, 30 Jun 2014 06:08:50 +0000 (08:08 +0200)
commit7589683c97442239295e700cbea17e82736f1f27
treeea92acfab53fade3dda571c7b43c8e4452f2c850
parente877aadde065de567da53f67ea8d60e19825693d
glsl: Validate vertex emission in geometry shaders.

Check if non-zero streams are used. Fail to link if emitting to unsupported
streams or emitting to non-zero streams with output type other than GL_POINTS.

Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
src/glsl/linker.cpp