glsl/linker: Change the format of spec quotation
authorVadym Shovkoplias <vadim.shovkoplias@gmail.com>
Wed, 10 Oct 2018 10:51:28 +0000 (13:51 +0300)
committerTapani Pälli <tapani.palli@intel.com>
Tue, 16 Oct 2018 05:15:21 +0000 (08:15 +0300)
Also there is no "OpenGL ES Shading Language 4.00" spec,
so change it to GLSL 4.00 spec.

Signed-off-by: Vadym Shovkoplias <vadym.shovkoplias@globallogic.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
src/compiler/glsl/linker.cpp

index 2f4c8860547cbdbf48f0b67d8832ba6f92fe3f99..7db34ebf95b1205a958b746b2c3338905a8674ad 100644 (file)
@@ -4648,12 +4648,11 @@ verify_subroutine_associated_funcs(struct gl_shader_program *prog)
       gl_program *p = prog->_LinkedShaders[i]->Program;
       glsl_symbol_table *symbols = prog->_LinkedShaders[i]->symbols;
 
-      /*
-       * From OpenGL ES Shading Language 4.00 specification
-       * (6.1.2 Subroutines):
-       *     "A program will fail to compile or link if any shader
-       *     or stage contains two or more functions with the same
-       *     name if the name is associated with a subroutine type."
+      /* Section 6.1.2 (Subroutines) of the GLSL 4.00 spec says:
+       *
+       *   "A program will fail to compile or link if any shader
+       *    or stage contains two or more functions with the same
+       *    name if the name is associated with a subroutine type."
        */
       for (unsigned j = 0; j < p->sh.NumSubroutineFunctions; j++) {
          unsigned definitions = 0;