[Mesa-dev] [PATCH 04/11] nvc0: bind constant buffers for compute on Kepler

Ilia Mirkin imirkin at alum.mit.edu
Sat Feb 27 22:20:21 UTC 2016


On Sat, Feb 27, 2016 at 9:02 AM, Samuel Pitoiset
<samuel.pitoiset at gmail.com> wrote:
> --- a/src/gallium/drivers/nouveau/nvc0/nve4_compute.h
> +++ b/src/gallium/drivers/nouveau/nvc0/nve4_compute.h
> @@ -56,7 +56,7 @@ static inline void
>  nve4_cp_launch_desc_set_cb(struct nve4_cp_launch_desc *desc,
>                             unsigned index,
>                             struct nouveau_bo *bo,
> -                           uint32_t base, uint16_t size)
> +                           uint32_t base, uint32_t size)

Nope, cb's are max 64k. And I think size == 0 means 64k. Not 100% sure
I guess. You also appear to only update the prototype and not the
actual function (at least in this commit)


More information about the mesa-dev mailing list