radeonsi: fix gl_InstanceID with non-zero start_instance
authorMarek Olšák <marek.olsak@amd.com>
Thu, 5 Sep 2013 13:39:57 +0000 (15:39 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 12 Sep 2013 23:08:03 +0000 (01:08 +0200)
commitf317ce5c5d339b380e3f6740c167e082a3da752e
tree8bd0ee90d35d1946188a7a5cfdc5b30c78f9b5a6
parent9c75d2f65b5cb18a25c95fb139361402d17db807
radeonsi: fix gl_InstanceID with non-zero start_instance

start_instance doesn't affect gl_InstanceID.

There's no piglit test, but it's kinda obvious the code was wrong.

Reviewed-by: Christian König <christian.koenig@amd.com>
src/gallium/drivers/radeonsi/radeonsi_shader.c