SPIRV-Cross/shaders/comp
Hans-Kristian Arntzen 45ad58a903 Implement more correct integer op handling.
In some cases we need to bitcast when dealing with int vs. uint.
SPIR-V allows inputs to be of different integer signedness, so we need
to deal with this somehow.

Add testing system to test SPIR-V assembly.
For now, test all possible combination for all major cases.

 - IAdd (which doesn't care about input type as long as they're equal)
 - SDiv/UDiv operations which case about input type.
 - Arith/Logical right shifts.
 - IEqual to test outputs to bvec, which shouldn't get output cast. Also
   tests casting in function-like calls.
2016-05-13 15:23:33 +02:00
..
atomic.comp Do not add dependencies for variables loaded from UniformConstant. 2016-04-01 19:58:26 +02:00
bake_gradient.comp Initial commit. 2016-03-11 16:30:27 +01:00
basic.comp Initial commit. 2016-03-11 16:30:27 +01:00
casts.comp Implement more correct integer op handling. 2016-05-13 15:23:33 +02:00
culling.comp Initial commit. 2016-03-11 16:30:27 +01:00
dowhile.comp Initial commit. 2016-03-11 16:30:27 +01:00
generate_height.comp Initial commit. 2016-03-11 16:30:27 +01:00
image.comp Initial commit. 2016-03-11 16:30:27 +01:00
inout-struct.comp Initial commit. 2016-03-11 16:30:27 +01:00
insert.comp Initial commit. 2016-03-11 16:30:27 +01:00
loop.comp Fix cases where SPIR-V conditionally branches to loop headers. 2016-04-04 08:53:37 +02:00
mat3.comp Initial commit. 2016-03-11 16:30:27 +01:00
mod.comp Fix floating point OpMod. 2016-04-16 09:25:14 +02:00
modf.comp Initial commit. 2016-03-11 16:30:27 +01:00
return.comp Initial commit. 2016-03-11 16:30:27 +01:00
shared.comp Initial commit. 2016-03-11 16:30:27 +01:00
ssbo-array.comp Add array-of-SSBO test. 2016-03-22 14:49:43 +01:00
struct-layout.comp Initial commit. 2016-03-11 16:30:27 +01:00
struct-packing.comp Handle padding for struct members in buffers. 2016-05-05 16:32:15 +02:00
torture-loop.comp Initial commit. 2016-03-11 16:30:27 +01:00
udiv.comp Initial commit. 2016-03-11 16:30:27 +01:00