SPIRV-Cross/shaders
Arseny Kapoulkine ed04c95b08 Implement flattening of row major matrix indexing
To extract a column from row-major matrix, we need to do a strided load one
component at a time. In this case flattened_access_chain_offset still returns
the offset to the first element, but the stride is equal to matrix stride
instead of vector stride.

For this to work, we need to pass matrix stride (and transpose flag) through,
similar to how matrix flattening works.

Additionally slightly clean up recursive flattened_access_chain structure -
specifically, instead of deciding mid-traversal that we need matrix stride
information, we can just pass the matrix stride through - for access chains
that end in matrix/vector this gets us what we need, and for access chains
that end in structs the flattened_access_chain_struct code will recompute
correct stride/transposition data to pass through further.
2017-01-24 07:42:19 -08:00
..
asm Always run spirv-val for SPIR-V files created. 2016-09-12 20:11:30 +02:00
comp Emit readonly, writeonly for SSBOs. 2017-01-21 10:08:27 +01:00
desktop-only Handle interpolation qualifiers inside IO blocks. 2016-10-07 16:30:11 +02:00
flatten Implement flattening of row major matrix indexing 2017-01-24 07:42:19 -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