[Mesa-dev] [PATCH v2 02/11] nvc0: bind constant buffers for compute on Fermi

2016-02-07 Thread Samuel Pitoiset
Loosely based on 3D. Changes from v2: - get rid of the 's' param to nvc0_cb_bo_push() because it doesn't matter to upload constbufs for compute using the 3d chan Signed-off-by: Samuel Pitoiset --- src/gallium/drivers/nouveau/nvc0/nvc0_compute.c | 60

Re: [Mesa-dev] [PATCH v2 02/11] nvc0: bind constant buffers for compute on Fermi

2016-02-07 Thread Ilia Mirkin
Don't these all overwrite one another? i.e. 3d and compute? So don't you need to adjust the state s.t. everything is dirtied on the "other side" (coincidentally, it seems likely that compute only aliases with frag shaders). On Sun, Feb 7, 2016 at 3:49 PM, Samuel Pitoiset