commit | 203c786a73847fb07d805c4cc799b7c7d028695c | [log] [tgz] |
---|---|---|
author | Jason Ekstrand <jason@jlekstrand.net> | Tue May 10 13:54:58 2016 -0700 |
committer | Jason Ekstrand <jason.ekstrand@intel.com> | Tue May 10 15:25:30 2016 -0700 |
tree | 0d07ef67e8c9e922fb0c14eddaa9282bc22241a9 | |
parent | d36d11ad907c93407d1e984ab0931337936a4a37 [diff] |
i965/fs: Default all constants to a location of -1 Otherwise constants which aren't live get an undefined constant location. When we go to set up param and pull_param we end up assigning all unused uniforms to slot 0. This cases the Vulkan driver to segfault because it doesn't have pull_param. This fixes bugs in the Vulkan driver introduced in c3fab3d000. Reviewed-by: Mark Janes <mark.a.janes@intel.com>