diff options
author | Connor Abbott <[email protected]> | 2017-06-07 14:12:05 -0700 |
---|---|---|
committer | Connor Abbott <[email protected]> | 2017-07-03 11:58:50 -0700 |
commit | 196e6b60b1e392c5e55c07a9f9b4e85dad52fb66 (patch) | |
tree | f0eaa840cd4953069bd3a27d71a5796c6ee7980a /.gitattributes | |
parent | 6158c0b5d8b6367a46acbe2fe20357210422c96f (diff) |
spirv: fix OpBitcast when the src and dst bitsize are different (v3)
Before, we were just implementing it with a move, which is incorrect
when the source and destination have different bitsizes. To implement
it properly, we need to use the 64-bit pack/unpack opcodes. Since
glslang uses OpBitcast to implement packInt2x32 and unpackInt2x32, this
should fix them on anv (and radv once we enable the int64 capability).
v2: make supporting non-32/64 bit easier (Jason)
v3: add another assert (Jason)
Fixes: b3135c3c ("anv: Advertise shaderInt64 on Broadwell and above")
Signed-off-by: Connor Abbott <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions