diff options
author | Iago Toral Quiroga <[email protected]> | 2016-07-01 09:22:34 +0200 |
---|---|---|
committer | Samuel Iglesias Gonsálvez <[email protected]> | 2017-01-03 11:26:51 +0100 |
commit | 49d4d0268bc03fbf2a0688563c5d89a7c9eb1e8e (patch) | |
tree | 8f5b3fe8de60c6f7f55920491cd74f5ae6ffbfa3 /scripts | |
parent | 183cd8ab944c1a6667656bed54a43ad5f91a6006 (diff) |
i965/vec4/tes: fix setup_payload() for 64bit data types
Use a width of 2 with 64-bit attributes.
Also, if we have a dvec3/4 attribute that gets split across two registers
such that components XY are stored in the second half of a register and
components ZW are stored in the first half of the next, we need to fix
regioning for any instruction that reads components Z/W of the attribute.
Notice this also means that we can't support sources that read cross-dvec2
swizzles (like XZ for example).
v2: don't assert that we have a single channel swizzle in the case that we
have to fix up Z/W access on the first half of the next register. We
can handle any swizzle that does not cross dvec2 boundaries, which
the double scalarization pass should have prevented anyway.
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions