diff options
author | Juan A. Suarez Romero <[email protected]> | 2016-03-31 11:49:53 +0100 |
---|---|---|
committer | Alejandro PiƱeiro <[email protected]> | 2016-05-17 09:05:47 +0200 |
commit | ccfe25f7583dd8d0ff0609de3728c8b15fb0f8fb (patch) | |
tree | 6cdcd436682af17b3e453408186caca3efdd4617 /src/compiler/nir | |
parent | 96c276dda909ddf12714b9e64b7207156e8fd4bb (diff) |
i965/fs: shuffle 32bits into 64bits for doubles
VS Thread Payload handles attributes in URB as vec4, no matter if they
are actually single or double precision.
So with double-precision types, value ends up in the registers split in
32bits chunks, in different positions.
We need to shuffle the chunks to get the doubles correctly.
v2:
* Extra blank line. Add { } on if body (Ian Romanick)
* Use dest directly (Kenneth Graunke)
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/compiler/nir')
0 files changed, 0 insertions, 0 deletions