ilo: use an accessor for dev->gen
authorChia-I Wu <olvaffe@gmail.com>
Fri, 12 Sep 2014 02:55:58 +0000 (10:55 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Fri, 12 Sep 2014 08:58:30 +0000 (16:58 +0800)
commit56d2ebb019f38d727a41f8f4a8ebd4f1aeee19e0
tree44e84ab2aa0481e9f75a924ed2803bd7326f8064
parentea5de3e0bd82c52130633b1f01b5e0ed226b3b76
ilo: use an accessor for dev->gen

It should enable us to do specialized builds by making the accessor return a
constant.
24 files changed:
src/gallium/drivers/ilo/ilo_3d.c
src/gallium/drivers/ilo/ilo_3d_pipeline.c
src/gallium/drivers/ilo/ilo_3d_pipeline_gen6.c
src/gallium/drivers/ilo/ilo_3d_pipeline_gen7.c
src/gallium/drivers/ilo/ilo_blitter_rectlist.c
src/gallium/drivers/ilo/ilo_builder_decode.c
src/gallium/drivers/ilo/ilo_common.h
src/gallium/drivers/ilo/ilo_format.c
src/gallium/drivers/ilo/ilo_format.h
src/gallium/drivers/ilo/ilo_gpe.h
src/gallium/drivers/ilo/ilo_gpe_gen6.c
src/gallium/drivers/ilo/ilo_gpe_gen6.h
src/gallium/drivers/ilo/ilo_gpe_gen7.c
src/gallium/drivers/ilo/ilo_gpe_gen7.h
src/gallium/drivers/ilo/ilo_layout.c
src/gallium/drivers/ilo/ilo_resource.c
src/gallium/drivers/ilo/ilo_screen.c
src/gallium/drivers/ilo/ilo_shader.c
src/gallium/drivers/ilo/ilo_transfer.c
src/gallium/drivers/ilo/shader/ilo_shader_fs.c
src/gallium/drivers/ilo/shader/ilo_shader_vs.c
src/gallium/drivers/ilo/shader/toy_compiler_disasm.c
src/gallium/drivers/ilo/shader/toy_helpers.h
src/gallium/drivers/ilo/shader/toy_legalize.c