commit | a9c0e8f00f2ac7543e69d7e4ec3f55fc4af79872 | [log] [tgz] |
---|---|---|
author | Kristian Høgsberg Kristensen <kristian.h.kristensen@intel.com> | Sat Jan 09 01:03:20 2016 -0800 |
committer | Kristian Høgsberg Kristensen <kristian.h.kristensen@intel.com> | Sat Jan 09 01:03:20 2016 -0800 |
tree | 679273e359ff2354914ff7e3989f6c0a13409fe6 | |
parent | b538ec5409c88f9fc08e0dbbaf3ae71346a1e398 [diff] |
vk: Handle uninitialized FS inputs and gl_PrimitiveID These show up as varying_to_slot[attr] == -1. Instead of storing -1 - 2 in swiz.Attribute[input_index].SourceAttribute, handle it correctly.