OSDN Git Service

broadcom/vc5: Fix transform feedback in the presence of point size.
authorEric Anholt <eric@anholt.net>
Wed, 21 Mar 2018 22:07:19 +0000 (15:07 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 27 Mar 2018 00:46:19 +0000 (17:46 -0700)
commit33878641305345b9bb76ad5ebf2335ec9c17adfa
treec423a617c529008c2ee0d7f720726d9d4176fcfc
parent09ac5ade8f3855e42e4902d7e1acab540f3f1568
broadcom/vc5: Fix transform feedback in the presence of point size.

I had this note to myself, and it turns out that a lot of CTS tests use
XFB with points to get data out without using a fragment shader.  Keep
track of two sets of precomputed TF specs (point size in VPM prologue or
not), and switch between them when we enable/disable point size.
src/gallium/drivers/vc5/vc5_context.h
src/gallium/drivers/vc5/vc5_emit.c
src/gallium/drivers/vc5/vc5_program.c