diff options
author | Kenneth Graunke <kenneth@whitecape.org> | 2015-09-24 17:01:23 -0700 |
---|---|---|
committer | Kenneth Graunke <kenneth@whitecape.org> | 2015-09-26 12:01:53 -0700 |
commit | 02530c5dc5dc88078f41fb134c7e0e3833c9f772 (patch) | |
tree | b83732ce6a5af75c5a2912f1fcb0296381189333 /src/mesa/drivers/dri/i965/brw_vec4_gs_visitor.cpp | |
parent | df221f65e26199a74bc259d3f94e70637b843afa (diff) | |
download | external_mesa3d-02530c5dc5dc88078f41fb134c7e0e3833c9f772.zip external_mesa3d-02530c5dc5dc88078f41fb134c7e0e3833c9f772.tar.gz external_mesa3d-02530c5dc5dc88078f41fb134c7e0e3833c9f772.tar.bz2 |
nir: Add a function to count the number of vertices a GS emits.
Some hardware (such as Broadwell) can run geometry shaders more
efficiently when the number of vertices emitted is statically known.
This pass provides a way to obtain the constant vertex count, or
-1 indicating that the vertex count is unknown/non-constant.
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_vec4_gs_visitor.cpp')
0 files changed, 0 insertions, 0 deletions