radeonsi/sid_tables: store offset into global fields table instead of pointer
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Sun, 8 May 2016 23:48:16 +0000 (18:48 -0500)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Fri, 13 May 2016 06:03:39 +0000 (01:03 -0500)
commitc7f73a70f042c24adf57188b2fe5c8c6a6aa8980
tree2de7768adc73ed82b524c2d18e935dde361c85d6
parent54ab39caafab98751cd8813963d8c2b31dc420b5
radeonsi/sid_tables: store offset into global fields table instead of pointer

This avoids relocations in the final binary.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/gallium/drivers/radeonsi/si_debug.c
src/gallium/drivers/radeonsi/sid_tables.py