v3d: Add and use a define for the number of channels in a QPU invocation.
authorEric Anholt <eric@anholt.net>
Thu, 11 Apr 2019 20:27:22 +0000 (13:27 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 12 Apr 2019 22:58:28 +0000 (15:58 -0700)
commit89b7df552badea9560765dff337232bca213781f
tree692f38897863b3e17aa317fb61622fb2377b9be3
parentb88ef3bd76a1fad3c2a99ea19df62f7be8c57961
v3d: Add and use a define for the number of channels in a QPU invocation.

A shader invocation always executes 16 channels together, so we often end
up multiplying things by this magic 16 number.  Give it a name.
src/broadcom/common/v3d_limits.h
src/broadcom/compiler/vir.c
src/broadcom/compiler/vir_register_allocate.c