summaryrefslogtreecommitdiffstats
path: root/src/gallium/docs
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2012-01-24 22:23:01 +0100
committerMarek Olšák <maraeo@gmail.com>2012-01-29 02:16:00 +0100
commit171be755223d99f8cc5cc1bdaf8bd7b4caa04b4f (patch)
tree4fa7b708b29027241eda8262dfa0c0e50fc8b2b4 /src/gallium/docs
parent1d01429c6a1ae679d0cc0cb61db1948fca5ced4c (diff)
downloadexternal_mesa3d-171be755223d99f8cc5cc1bdaf8bd7b4caa04b4f.zip
external_mesa3d-171be755223d99f8cc5cc1bdaf8bd7b4caa04b4f.tar.gz
external_mesa3d-171be755223d99f8cc5cc1bdaf8bd7b4caa04b4f.tar.bz2
st/mesa: add PIPE_CAP_GLSL_FEATURE_LEVEL, cleanup st_extensions.c
v2: handle the cap in r300 and r600 as well Additional info for r600g: The env var R600_GLSL130=1 enables GLSL 1.3. Along with R600_STREAMOUT=1, it enables full GL 3.
Diffstat (limited to 'src/gallium/docs')
-rw-r--r--src/gallium/docs/source/screen.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/docs/source/screen.rst b/src/gallium/docs/source/screen.rst
index 8161c64..2af9f74 100644
--- a/src/gallium/docs/source/screen.rst
+++ b/src/gallium/docs/source/screen.rst
@@ -94,6 +94,9 @@ The integer capabilities:
the vertex colors are never clamped. This is the default for DX10 hardware.
If both clamped and unclamped CAPs are supported, the clamping can be
controlled through pipe_rasterizer_state.
+* ``PIPE_CAP_GLSL_FEATURE_LEVEL``: Whether the driver supports features
+ equivalent to a specific GLSL version. E.g. for GLSL 1.3, report 130.
+
.. _pipe_capf: