diff options
author | Connor Abbott <[email protected]> | 2015-01-25 11:47:53 -0500 |
---|---|---|
committer | Connor Abbott <[email protected]> | 2015-01-26 21:26:36 -0500 |
commit | f1a9252defb77f3986305c6a1fc9592093b5a4e5 (patch) | |
tree | d171e242c454cb15ee0c77013c6806309babae54 /src/glx/indirect_vertex_array_priv.h | |
parent | 816f0515a2ca2dbacada24f7f79d65daf5c0fcf5 (diff) |
nir: fix a bug with constant folding non-per-component instructions
Before, we were only copying the first N channels, where N is the size
of the SSA destination, which is fine for per-component instructions,
but non-per-component instructions like fdot3 can have more source
components than destination components. Fix this using the helper
function introduced in the last patch.
v2: use new helper name
Reviewed-by: Jason Ekstrand <[email protected]>
Signed-off-by: Connor Abbott <[email protected]>
Diffstat (limited to 'src/glx/indirect_vertex_array_priv.h')
0 files changed, 0 insertions, 0 deletions