From: Steinar H. Gunderson Date: Sat, 18 Nov 2017 13:44:51 +0000 (+0100) Subject: More renaming of .compute -> .comp. X-Git-Tag: 1.6.0~61 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;ds=sidebyside;h=b89deb99c8e5d5e96d502a7c90b2bbc7daaac822;p=movit More renaming of .compute -> .comp. --- diff --git a/effect_chain.cpp b/effect_chain.cpp index ecf4208..34a396a 100644 --- a/effect_chain.cpp +++ b/effect_chain.cpp @@ -361,7 +361,7 @@ void EffectChain::compile_glsl_program(Phase *phase) { string frag_shader_header; if (phase->is_compute_shader) { - frag_shader_header = read_file("header.compute"); + frag_shader_header = read_file("header.comp"); } else { frag_shader_header = read_version_dependent_file("header", "frag"); } diff --git a/header.compute b/header.comp similarity index 100% rename from header.compute rename to header.comp diff --git a/resource_pool.cpp b/resource_pool.cpp index 2cf470f..4cf42eb 100644 --- a/resource_pool.cpp +++ b/resource_pool.cpp @@ -243,7 +243,7 @@ GLuint ResourcePool::compile_glsl_compute_program(const string& compute_shader) check_error(); glsl_program_num = link_compute_program(cs_obj); - output_debug_shader(compute_shader, "compute"); + output_debug_shader(compute_shader, "comp"); compute_programs.insert(make_pair(key, glsl_program_num)); add_master_program(glsl_program_num);