r600g: start numbering atoms from 1
authorGrazvydas Ignotas <notasas@gmail.com>
Wed, 2 Sep 2015 22:54:30 +0000 (01:54 +0300)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 3 Sep 2015 16:06:29 +0000 (18:06 +0200)
commit6ef4572937015c1e076afc12f19e8453d08babec
tree5e24480f2422fff4092a0f41d62ec6c9084c74da
parent4d9af438bc41ed20da1963a438249fee43213121
r600g: start numbering atoms from 1

There doesn't seem any reason to start from 4.
Start from 1 instead (0 is left reserved to catch uninitialized atoms).

Signed-off-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/r600/evergreen_state.c
src/gallium/drivers/r600/r600_pipe.h
src/gallium/drivers/r600/r600_state.c