nvc0: use a define for the driver constant buffer size
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 11 Jul 2016 20:25:05 +0000 (22:25 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 11 Jul 2016 20:30:41 +0000 (22:30 +0200)
commit9bc083284f3d4eb6148237eec3d9032d32ff1451
treea22363f554bf2b77e37965992d14b2cf7b6183bf
parent31a615677b26587e63efe2c8cc0bdfecbf82fbae
nvc0: use a define for the driver constant buffer size

This might avoid mistakes if the size is bumped in the future.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/nvc0/nvc0_compute.c
src/gallium/drivers/nouveau/nvc0/nvc0_context.h
src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_sm.c
src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
src/gallium/drivers/nouveau/nvc0/nvc0_state_validate.c
src/gallium/drivers/nouveau/nvc0/nvc0_tex.c
src/gallium/drivers/nouveau/nvc0/nvc0_vbo.c