OSDN Git Service

st/mesa: add PIPE_CAP_GLSL_FEATURE_LEVEL, cleanup st_extensions.c
authorMarek Olšák <maraeo@gmail.com>
Tue, 24 Jan 2012 21:23:01 +0000 (22:23 +0100)
committerMarek Olšák <maraeo@gmail.com>
Sun, 29 Jan 2012 01:16:00 +0000 (02:16 +0100)
commit171be755223d99f8cc5cc1bdaf8bd7b4caa04b4f
tree4fa7b708b29027241eda8262dfa0c0e50fc8b2b4
parent1d01429c6a1ae679d0cc0cb61db1948fca5ced4c
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.
src/gallium/docs/source/screen.rst
src/gallium/drivers/r300/r300_screen.c
src/gallium/drivers/r600/r600_pipe.c
src/gallium/drivers/softpipe/sp_screen.c
src/gallium/include/pipe/p_defines.h
src/mesa/state_tracker/st_extensions.c