zink: move primitive-topology stuff into program
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 19 Jun 2019 10:29:49 +0000 (12:29 +0200)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Mon, 28 Oct 2019 08:51:44 +0000 (08:51 +0000)
commit8f6449f29686cd9ea199ab00536b890b1d9e8e93
tree4d1263a030524baaf1b072484ae290dc425fd605
parente0a93ba35184ec3872de01f2cd2b92fff7b755ff
zink: move primitive-topology stuff into program

The primitive topology is a bit of an odd-ball, as it's the only
truly draw-call specific state that needs to be passed to the program to
get a pipeline.

So let's make this a bit more explict, by passing it separately. This
makes the flow of data a bit easier to wrap your head around.

Acked-by: Jordan Justen <jordan.l.justen@intel.com>
src/gallium/drivers/zink/zink_context.c
src/gallium/drivers/zink/zink_pipeline.c
src/gallium/drivers/zink/zink_pipeline.h
src/gallium/drivers/zink/zink_program.c
src/gallium/drivers/zink/zink_program.h