radeonsi: use ac_compile_module_to_binary to reduce compile times
authorMarek Olšák <marek.olsak@amd.com>
Wed, 4 Jul 2018 05:28:17 +0000 (01:28 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 4 Jul 2018 19:48:18 +0000 (15:48 -0400)
commitff330055e989803fa05c2d5c8e1a4c08b52a55fd
tree2ad1c4d99d18d4caff755b8d8e84b53f5df50463
parent0075e5fed8ae0e33b29a7b99bcdb0f480846d8b1
radeonsi: use ac_compile_module_to_binary to reduce compile times

Compile times of simple shaders are reduced by ~20%.
Compile times of prologs and epilogs are reduced by up to 40%.

Reviewed-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/radeonsi/si_pipe.c
src/gallium/drivers/radeonsi/si_shader_tgsi_setup.c