diff options
author | Samuel Iglesias Gonsálvez <[email protected]> | 2016-05-26 07:56:37 +0200 |
---|---|---|
committer | Samuel Iglesias Gonsálvez <[email protected]> | 2016-06-06 12:37:16 +0200 |
commit | 2d6f82a294ad1ab1eab0020cf65df5ecc9591272 (patch) | |
tree | decdcf3485aa507eaf0901e6cd41becc713a25e0 /docs/relnotes/8.0.2.html | |
parent | cb30727648fea301cfff1647d947bfab540c3bf6 (diff) |
i965/fs: fix offset when loading double vector input varyings
When we are not packing a double input varying, we might need to
read its data in a non-aligned to 64-bit offset, so we read
the wrong data. This is happening when using explicit locations
in varyings because Mesa disables packing varying for that case.
const_index is in 32-bit size units but offset() is multiplying
it by destination type size units. When operating with double
input varyings, const_index value could be not aligned to 64 bits.
To fix it, we load the double vector as if it was a float based vector
with twice the number of components.
Signed-off-by: Samuel Iglesias Gonsálvez <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Cc: "12.0" <[email protected]>
Diffstat (limited to 'docs/relnotes/8.0.2.html')
0 files changed, 0 insertions, 0 deletions