Re: [Mesa-dev] [PATCH 5/5] nvc0: rename 3d binding points to NVC0_BIND_3D_XXX

2016-02-21 Thread Samuel Pitoiset
On 02/22/2016 12:08 AM, Ilia Mirkin wrote: On Sun, Feb 21, 2016 at 9:18 AM, Samuel Pitoiset wrote: /* 3d bufctx (during draw_vbo, blit_3d) */ -#define NVC0_BIND_FB0 -#define NVC0_BIND_VTX 1 -#define NVC0_BIND_VTX_TMP 2 -#define NVC0_BIND_IDX 3 -#define

Re: [Mesa-dev] [PATCH 5/5] nvc0: rename 3d binding points to NVC0_BIND_3D_XXX

2016-02-21 Thread Ilia Mirkin
On Sun, Feb 21, 2016 at 9:18 AM, Samuel Pitoiset wrote: > > /* 3d bufctx (during draw_vbo, blit_3d) */ > -#define NVC0_BIND_FB0 > -#define NVC0_BIND_VTX 1 > -#define NVC0_BIND_VTX_TMP 2 > -#define NVC0_BIND_IDX 3 > -#define NVC0_BIND_TEX(s, i) ( 4 + 32 * (s

[Mesa-dev] [PATCH 5/5] nvc0: rename 3d binding points to NVC0_BIND_3D_XXX

2016-02-21 Thread Samuel Pitoiset
Signed-off-by: Samuel Pitoiset --- src/gallium/drivers/nouveau/nvc0/nvc0_context.c| 28 +++--- src/gallium/drivers/nouveau/nvc0/nvc0_context.h| 24 +-- .../drivers/nouveau/nvc0/nvc0_shader_state.c | 8 +++ src/gallium/drivers/nouveau/nvc0/nvc0_st