commit | 7075fe81e40f896f50126c0009943e4c92eddba9 | [log] [tgz] |
---|---|---|
author | I-Jui (Ray) Sung <ijsung@google.com> | Fri Jan 20 16:01:39 2017 -0800 |
committer | I-Jui (Ray) Sung <ijsung@google.com> | Mon Jan 23 12:28:23 2017 -0800 |
tree | c6148f2f347a4831d020c4379c7e2d81b5c28b0c | |
parent | a66d344d2cb0ed24743eafa8a22130d39cdcdc65 [diff] |
Discard integer signs in RSoV wrapper generation For kernels with integer arguments, Khronos LLVM/SPIR-V translator generates SPIR-V functions with unsigned integer arguments as LLVM IR does not preserve signedness. Thus the wrapper should treat both signed and unsigned integer arguments as unsigned, otherwise spirv-val would report error on these inconsistencies. Bug: 30964317 Test: RSoVTests, RSoV LIT tests, RsTest on Angler Change-Id: If8d2024dd60e3ce89c263a55c9d128f9002f0974