SPIRV-Cross/shaders
Arseny Kapoulkine 62b27f1d81 Implement access chain flattening support for row major matrices
We currently only support access chains that end in a matrix by propagating
"needs transpose" flag upstream which flips the matrix multiplication order.

It's possible to support indexed extraction as well, however it would have to
generate code like this:

    vec4 row = vec4(UBO[0].y, UBO[1].y, UBO[2].y, UBO[3].y);

for a column equivalent of:

    vec4 row = UBO[1];

It is definitely possible to do so but it requires signaling the vector output
that it needs to switch to per-component extraction which is a bit more trouble
than this is worth for now.
2017-01-17 23:26:23 -08:00
..
asm Always run spirv-val for SPIR-V files created. 2016-09-12 20:11:30 +02:00
comp Add more dedicated test shader for defer-parens. 2016-12-08 09:05:30 +01:00
desktop-only Handle interpolation qualifiers inside IO blocks. 2016-10-07 16:30:11 +02:00
flatten Implement access chain flattening support for row major matrices 2017-01-17 23:26:23 -08:00
frag Improve debuggability of Travis CI when things go wrong. 2016-12-16 13:48:30 +01:00
geom Add tests for all geometry shader primitive types. 2016-09-28 08:23:21 +02:00
legacy/vert Add ability to have legacy-specific tests. 2017-01-16 09:08:06 +01:00
tesc Initial commit. 2016-03-11 16:30:27 +01:00
tese Fix triangle mode in tessellation output. 2016-09-28 08:12:04 +02:00
vert Update test suite for latest glslang. 2016-09-10 12:53:41 +02:00
vulkan Support arrays which have spec constant size. 2016-10-03 17:17:11 +02:00