commit | 2f98dc223f625f6df79268848c46af7f224fe7e9 | [log] [tgz] |
---|---|---|
author | Michel Dänzer <michel.daenzer@amd.com> | Thu Aug 08 16:58:00 2013 +0200 |
committer | Michel Dänzer <michel@daenzer.net> | Thu Aug 15 17:53:50 2013 +0200 |
tree | cfe1f25e942fae49c89487784b78d8fd34ad9395 | |
parent | b00269aa5887b88d2e037d6bfa374779902f8743 [diff] |
radeonsi: Don't export unused clip distance vectors from vertex shader E.g. the Source engine seems to always write to gl_ClipVertex, but normally doesn't enable any GL_CLIP_DISTANCEn states. This change removes some irrelevant parts from the generated vertex shader code in such cases. Reviewed-by: Tom Stellard <thomas.stellard@amd.com>