aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/a5xx/fd5_gmem.c
diff options
context:
space:
mode:
authorConnor Abbott <[email protected]>2020-04-22 17:54:41 +0200
committerMarge Bot <[email protected]>2020-04-25 01:06:21 +0000
commit1f9839907a8eee15f634ff95577fbe498f1b70c2 (patch)
tree60333ae38634083ecdbc1e6367a4315d1eb7173a /src/gallium/drivers/freedreno/a5xx/fd5_gmem.c
parentcc530858c1e6adb761fca163f49432fbc71348b9 (diff)
ir3: Skip missing VS outputs in VS out map when linking
The hardware is capable of automatically filling in certain values in the VPC without writing them from the last geometry stage, like gl_PointCoord or gl_PrimitiveID when there is no GS. However, we *do* have to enable these outputs (i.e. set the VPC_VAR_DISABLE bit to 0) as VPC_VAR_DISABLE is really about FS inputs rather than VS outputs. To do this, we move the computation of the enable bits to ir3_link_add(), which is also a nice refactor anyway. In addition we detect the PrimID case specifically so that the driver can program the location. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4704>
Diffstat (limited to 'src/gallium/drivers/freedreno/a5xx/fd5_gmem.c')
0 files changed, 0 insertions, 0 deletions