freedreno: Add more asserts for DST_OFF/NUM_UNIT in indirect const uploads.
authorEric Anholt <eric@anholt.net>
Fri, 31 Jul 2020 16:54:09 +0000 (09:54 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 5 Aug 2020 23:06:55 +0000 (23:06 +0000)
commit56ab105182e5a3129ee646cf6382a5699bf14bce
treecb97d753203645ceed159e8f19165719be8f7cc1
parent3e970de36033b8f47664a945359010c8c6e7e74d
freedreno: Add more asserts for DST_OFF/NUM_UNIT in indirect const uploads.

These are just empirical alignment numbers from looking at dEQP traces of
the blob driver (a330, a418, a540, a618, a630), with one exception noted
in the comments.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5990>
src/gallium/drivers/freedreno/a3xx/fd3_emit.c
src/gallium/drivers/freedreno/a4xx/fd4_emit.c
src/gallium/drivers/freedreno/a5xx/fd5_emit.c
src/gallium/drivers/freedreno/a6xx/fd6_const.c