gallivm: Fix build after removal of deprecated attribute API v3
authorTom Stellard <thomas.stellard@amd.com>
Mon, 7 Nov 2016 18:35:09 +0000 (18:35 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Wed, 9 Nov 2016 20:13:27 +0000 (20:13 +0000)
commit8bdd52c8f3595128cbc1da4f23cdb10ff861a6ef
tree559ecc6a07fac37950cbb95c95860d28162cb784
parentfb50245ac1e1eb60b2451d9d6dd05388cb89634a
gallivm: Fix build after removal of deprecated attribute API v3

v2:
  Fix adding parameter attributes with LLVM < 4.0.

v3:
  Fix typo.
  Fix parameter index.
  Add a gallivm enum for function attributes.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/auxiliary/draw/draw_llvm.c
src/gallium/auxiliary/gallivm/lp_bld_intr.c
src/gallium/auxiliary/gallivm/lp_bld_intr.h
src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c
src/gallium/drivers/radeonsi/si_shader.c
src/gallium/drivers/radeonsi/si_shader_tgsi_alu.c