diff options
author | Jason Ekstrand <[email protected]> | 2019-06-06 10:51:25 -0500 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2019-06-19 21:05:54 +0000 |
commit | 81e51b412e9fc72000868ebe5bbe2417b1f0486d (patch) | |
tree | 94f8f7f284fa5e5bb0659863babcec117cb69ee5 /src/intel/vulkan | |
parent | b019fe8a5b6cba6c6cefe62718b682da451e699e (diff) |
nir: Make nir_constant a vector rather than a matrix
Most places in NIR, we treat matrices like arrays. The one annoying
exception to this has been nir_constant where a matrix is a first-class
thing. This commit changes that so a matrix nir_constant is the same as
an array nir_constant. This makes matrix nir_constants a tiny bit more
expensive but shrinks all others by 96B.
Reviewed-by: Karol Herbst <[email protected]>
Diffstat (limited to 'src/intel/vulkan')
0 files changed, 0 insertions, 0 deletions