st/mesa: simplify code due to unification to st_common_program
authorMarek Olšák <marek.olsak@amd.com>
Sun, 30 Apr 2017 14:31:07 +0000 (16:31 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 8 May 2017 16:32:00 +0000 (18:32 +0200)
commit57fc8ae61aa3fb3f2a0170d22363045bfdf1ec2c
treef4e7a5785a7fb0547c623fedc70a345c3ca082ff
parenta159d6ed20e3487df37c0d447564d4690d59ccc4
st/mesa: simplify code due to unification to st_common_program

v2: use the st_common_program() helper

Tested-by: Edmondo Tommasina <edmondo.tommasina@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/mesa/state_tracker/st_cb_program.c
src/mesa/state_tracker/st_glsl_to_tgsi.cpp
src/mesa/state_tracker/st_program.c
src/mesa/state_tracker/st_shader_cache.c