freedreno: replace all dup() with os_dupfd_cloexec()
[mesa.git] / docs / shading.rst
index ef52063f58a78b0bac96cb702d7ec2d352532f3f..d41a490260986f92a846c5f878193d615063c5a5 100644 (file)
@@ -4,17 +4,6 @@ Shading Language
 This page describes the features and status of Mesa's support for the
 `OpenGL Shading Language <https://opengl.org/documentation/glsl/>`__.
 
-Contents
-
--  `Environment variables <#envvars>`__
--  `GLSL 1.40 support <#support>`__
--  `Unsupported Features <#unsup>`__
--  `Implementation Notes <#notes>`__
--  `Programming Hints <#hints>`__
--  `Stand-alone GLSL Compiler <#standalone>`__
--  `Compiler Implementation <#implementation>`__
--  `Compiler Validation <#validation>`__
-
 .. _envvars:
 
 Environment Variables
@@ -74,8 +63,6 @@ which compiler developers can use to gather statistics about shaders
 Notably, this captures linked GLSL shaders - with all stages together -
 as well as ARB programs.
 
-.. _support:
-
 GLSL Version
 ------------
 
@@ -88,8 +75,6 @@ Several GLSL extensions are also supported:
 -  GL_ARB_fragment_coord_conventions
 -  GL_ARB_shader_bit_encoding
 
-.. _unsup:
-
 Unsupported Features
 --------------------
 
@@ -106,8 +91,6 @@ supported in Mesa:
 
 All other major features of the shading language should function.
 
-.. _notes:
-
 Implementation Notes
 --------------------
 
@@ -127,8 +110,6 @@ Implementation Notes
 
 These issues will be addressed/resolved in the future.
 
-.. _hints:
-
 Programming Hints
 -----------------
 
@@ -145,8 +126,6 @@ Programming Hints
 
       float x = inversesqrt(y);
 
-.. _standalone:
-
 Stand-alone GLSL Compiler
 -------------------------
 
@@ -180,8 +159,6 @@ Options include
    any header or separator
 -  **--version** - [Mandatory] define the GLSL version to use
 
-.. _implementation:
-
 Compiler Implementation
 -----------------------
 
@@ -194,8 +171,6 @@ The final vertex and fragment programs may be interpreted in software
 (see prog_execute.c) or translated into a specific hardware architecture
 (see drivers/dri/i915/i915_fragprog.c for example).
 
-.. _validation:
-
 Compiler Validation
 -------------------