diff options
author | Kenneth Graunke <[email protected]> | 2015-09-24 17:01:23 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2015-09-26 12:01:53 -0700 |
commit | 02530c5dc5dc88078f41fb134c7e0e3833c9f772 (patch) | |
tree | b83732ce6a5af75c5a2912f1fcb0296381189333 /src/mesa/main/macros.h | |
parent | df221f65e26199a74bc259d3f94e70637b843afa (diff) |
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 <[email protected]>
Reviewed-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/mesa/main/macros.h')
0 files changed, 0 insertions, 0 deletions