[Mesa-dev] [PATCH 06/16] glsl: Rename link_fs_input_layout_qualifiers to "inout".

Francisco Jerez currojerez at riseup.net
Tue Aug 16 21:45:44 UTC 2016


Kenneth Graunke <kenneth at whitecape.org> writes:

> 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 at whitecape.org>

Reviewed-by: Francisco Jerez <currojerez at riseup.net>

> ---
>  src/compiler/glsl/linker.cpp | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/compiler/glsl/linker.cpp b/src/compiler/glsl/linker.cpp
> index 3c527e0..10df74a 100644
> --- a/src/compiler/glsl/linker.cpp
> +++ b/src/compiler/glsl/linker.cpp
> @@ -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);
> -- 
> 2.9.0
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 212 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160816/691825ab/attachment-0001.sig>


More information about the mesa-dev mailing list