summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorConnor Abbott <[email protected]>2017-06-07 14:12:05 -0700
committerAndres Gomez <[email protected]>2017-07-08 15:47:59 +0300
commit387e0e12a905ae3093071825240ba7f6ff7ff3b5 (patch)
treee0ae8336ba74d3cea7647106ce80152361b6ac2f /scripts
parent8db6b8326758c0d3209ee90a7e3cf08ca88d223f (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]> (cherry picked from commit 196e6b60b1e392c5e55c07a9f9b4e85dad52fb66)
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions