diff options
author | Grazvydas Ignotas <[email protected]> | 2015-09-03 01:54:30 +0300 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2015-09-03 18:06:29 +0200 |
commit | 6ef4572937015c1e076afc12f19e8453d08babec (patch) | |
tree | 5e24480f2422fff4092a0f41d62ec6c9084c74da /src/gallium/drivers/r600/r600_state.c | |
parent | 4d9af438bc41ed20da1963a438249fee43213121 (diff) |
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 <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_state.c')
-rw-r--r-- | src/gallium/drivers/r600/r600_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_state.c b/src/gallium/drivers/r600/r600_state.c index 6724cc080b5..93a74f7c2ca 100644 --- a/src/gallium/drivers/r600/r600_state.c +++ b/src/gallium/drivers/r600/r600_state.c @@ -3031,7 +3031,7 @@ fallback: void r600_init_state_functions(struct r600_context *rctx) { - unsigned id = 4; + unsigned id = 1; /* !!! * To avoid GPU lockup registers must be emited in a specific order |