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.
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user