Primitive Restart implementation
This cl is a very basic implementation of primitive restart
which records every segment of at least 1 primitive into a
vector of index buffers and primitive counts which are then
looped over at draw time. There's no caching involved, so
the primitive restart segments will get recomputed at every
draw, until a caching mechanism is introduced.
Tests: dEQP-VK.pipeline.input_assembly.primitive_restart.*
Bug b/118619338
Change-Id: If2f88ffb7971d1aa7d1451c7916f0ba65a2e09de
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/31032Tested-by:
Alexis Hétu <sugoi@google.com>
Presubmit-Ready: Alexis Hétu <sugoi@google.com>
Reviewed-by:
Ben Clayton <bclayton@google.com>
Reviewed-by:
Chris Forbes <chrisforbes@google.com>
Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
Showing
Please
register
or
sign in
to comment