softpipe: draw_find_shader_output returns -1 on invalid outputs
authorZack Rusin <zackr@vmware.com>
Thu, 30 May 2013 21:01:19 +0000 (17:01 -0400)
committerZack Rusin <zackr@vmware.com>
Thu, 30 May 2013 23:54:25 +0000 (19:54 -0400)
commite54c924a0e9b9a504eae1eb68daaf51f21689629
treece8da8af00012ffc5ecd1e585abe7d4fd00cac6a
parent124e1f91a7c50e186d0cd87ff92d534d8f5f5a91
softpipe: draw_find_shader_output returns -1 on invalid outputs

It was changed from 0 to allow shader outputs at 0 that are
different from position.

Signed-off-by: Zack Rusin <zackr@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/drivers/softpipe/sp_state_derived.c