commit | ea35fb0fbead2902b1ba37e7cdb1523853fabd8b | [log] [tgz] |
---|---|---|
author | Jason Ekstrand <jason.ekstrand@intel.com> | Wed Sep 30 10:31:03 2015 -0700 |
committer | Jason Ekstrand <jason.ekstrand@intel.com> | Fri Oct 02 14:19:39 2015 -0700 |
tree | 25384b3080ca0139d09718a9cf71c23b376ee579 | |
parent | cd2132f45b8aba7a47502d864b51c11519b4a8f0 [diff] |
i965/vec4: Use the actual channels used in pack_uniform_registers Previously, pack_uniform_registers worked based on the size of the uniform as given to us when we initially set up the uniforms. However, we have to walk through the uniforms and figure out liveness anyway, so we migh as well record the number of channels used as we go. This may also allow us to pack things tighter in a few cases. Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>