freedreno: Split ir3_const's user buffer and indirect upload APIs.
They're almost entirely split by whether you're uploading user buffer or from a BO. While I'm rewriting the API, drop the emit_const -> fdN_emit_const wrapper in favor of a #define before the header and a little helper for the asserts. Part-of: <mesa/mesa!5990>
- src/gallium/drivers/freedreno/a3xx/fd3_emit.c 28 additions, 42 deletionssrc/gallium/drivers/freedreno/a3xx/fd3_emit.c
- src/gallium/drivers/freedreno/a4xx/fd4_emit.c 27 additions, 41 deletionssrc/gallium/drivers/freedreno/a4xx/fd4_emit.c
- src/gallium/drivers/freedreno/a5xx/fd5_emit.c 27 additions, 42 deletionssrc/gallium/drivers/freedreno/a5xx/fd5_emit.c
- src/gallium/drivers/freedreno/a6xx/fd6_const.c 75 additions, 81 deletionssrc/gallium/drivers/freedreno/a6xx/fd6_const.c
- src/gallium/drivers/freedreno/ir3/ir3_const.h 42 additions, 15 deletionssrc/gallium/drivers/freedreno/ir3/ir3_const.h