glsl: Rename link_fs_input_layout_qualifiers to "inout".
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 28 Jun 2016 17:00:18 +0000 (10:00 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 20 Aug 2016 20:52:25 +0000 (13:52 -0700)
We're going to handle output qualifiers here too, and calling it "inout"
seems to be the going convention.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/compiler/glsl/linker.cpp

index 51d7643fa4092e765c448c8459471ce94e14b0af..a1a65ef627090dc03c1cd4fc699ad05b2275c79d 100644 (file)
@@ -1871,7 +1871,7 @@ link_tes_in_layout_qualifiers(struct gl_shader_program *prog,
  * and propagates them to the linked FS and linked shader program.
  */
 static void
-link_fs_input_layout_qualifiers(struct gl_shader_program *prog,
+link_fs_inout_layout_qualifiers(struct gl_shader_program *prog,
                                struct gl_linked_shader *linked_shader,
                                struct gl_shader **shader_list,
                                unsigned num_shaders)
@@ -2217,7 +2217,7 @@ link_intrastage_shaders(void *mem_ctx,
    linked->ir = new(linked) exec_list;
    clone_ir_list(mem_ctx, linked->ir, main->ir);
 
-   link_fs_input_layout_qualifiers(prog, linked, shader_list, num_shaders);
+   link_fs_inout_layout_qualifiers(prog, linked, shader_list, num_shaders);
    link_tcs_out_layout_qualifiers(prog, linked, shader_list, num_shaders);
    link_tes_in_layout_qualifiers(prog, linked, shader_list, num_shaders);
    link_gs_inout_layout_qualifiers(prog, linked, shader_list, num_shaders);