diff options
author | Iago Toral Quiroga <[email protected]> | 2014-07-01 08:52:31 +0200 |
---|---|---|
committer | Iago Toral Quiroga <[email protected]> | 2014-09-19 15:01:14 +0200 |
commit | 03164f6285b18a909d4de50d10c491e638bce8d7 (patch) | |
tree | f65037fa08225a75eb1a2139b91997562785a0e6 /src/util/.gitignore | |
parent | 45cbc9267eec3ac5b426aab562e4856e3d3c50c1 (diff) |
i965/gs: Use single dispatch mode as fallback to dual object mode when possible.
Currently, when a geometry shader can't use dual object mode we fall back to
dual instance mode, however, when invocations == 1, single dispatch mode is
more performant and equally efficient in terms of register pressure.
Single dispatch mode requires that the driver can handle interleaving of
input registers, but this is already supported (dual instance mode has
the same requirement). However, to take full advantage of single dispatch mode
to reduce register pressure we would also need the ability to store two
separate vec4 output values into vec8 registers, which would approximately
double our capacity to store temporary values, but currently the vec4 visitor
and generator classes do not support this, so at the moment register pressure
in single and dual instance modes is the same.
Reviewed-by: Jordan Justen <[email protected]>
Acked-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/util/.gitignore')
0 files changed, 0 insertions, 0 deletions