Skip to content
  • Andres Gomez's avatar
    arb_separate_shader_objects: add gl_PerVertex tests · c8aa5747
    Andres Gomez authored
    
    
    From the ARB_separate_shader_objects spec v.25:
    
      " To use any built-in input or output in the gl_PerVertex and
        gl_PerFragment blocks in separable program objects, shader code
        must redeclare those blocks prior to use.  A separable program
        will fail to link if:
    
          * it contains multiple shaders of a single type with different
            redeclarations of these built-in input and output blocks; or
    
          * any shader uses a built-in block member not found in the
            redeclaration of that block."
    
    Additionally, added the "SEPARABLE PROGRAM ENABLED" directive to the
    shader_runner
    
    Signed-off-by: default avatarAndres Gomez <agomez@igalia.com>
    Acked-by: default avatarMarek Olšák <marek.olsak@amd.com>
    Reviewed-by: default avatarIan Romanick <ian.d.romanick@intel.com>
    c8aa5747