summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_vec4_gs_visitor.cpp
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2015-09-24 17:01:23 -0700
committerKenneth Graunke <kenneth@whitecape.org>2015-09-26 12:01:53 -0700
commit02530c5dc5dc88078f41fb134c7e0e3833c9f772 (patch)
treeb83732ce6a5af75c5a2912f1fcb0296381189333 /src/mesa/drivers/dri/i965/brw_vec4_gs_visitor.cpp
parentdf221f65e26199a74bc259d3f94e70637b843afa (diff)
downloadexternal_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