Files
mesa/src/compiler
Rhys Perry bcd14756ee nir/lower_io_to_vector: add flat mode
This has lower_io_to_vector try to turn variables into arrays of 4-sized
vectors when possible and fall back to the old approach when that isn't
possible.

This is so that lower_io_to_vector can guarantee that only one variable is
used for each fragment shader output.

v2: handle dual-source blending
v3: don't try to merge structs and non-32-bit types in get_flat_type()
v3: fix per-vertex inputs
v3: fix and cleanup location advancement in get_flat_type() and it's
    calling code
v4: prioritize the original mode over the flat mode
v4: don't create flat variables to merge only one variable
v5: don't skip an entire slot when encountering structs in the old mode

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
2019-09-06 15:38:04 +00:00
..
2019-09-06 15:38:04 +00:00
2017-07-21 08:47:56 +03:00
2018-07-09 23:02:33 -07:00
2018-07-09 23:02:33 -07:00
2019-08-08 12:10:39 -05:00
2019-08-03 00:08:37 +00:00
2019-08-08 12:10:39 -05:00
2019-08-08 12:10:39 -05:00
2018-03-30 14:33:03 -06:00
2018-03-27 08:36:37 -04:00