mesa: Handle FEATURE_es2_glsl differences at runtime too
authorKristian Høgsberg <krh@bitplanet.net>
Mon, 24 May 2010 14:01:38 +0000 (10:01 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Mon, 24 May 2010 14:02:13 +0000 (10:02 -0400)
commitf67b020a942911f80b7b774c6d64701d1981c608
tree346fe4eb66b537070037f544cf632b88b1bf02ec
parent740c8ea6d371732f3530accde44836930e03cc80
mesa: Handle FEATURE_es2_glsl differences at runtime too

Now that we can support different APIs at runtime, we need to check the
context for the API we're currently providing as well.

https://bugs.freedesktop.org/show_bug.cgi?id=28194
src/mesa/main/api_validate.c
src/mesa/shader/program.c
src/mesa/shader/slang/slang_codegen.c
src/mesa/shader/slang/slang_compile.c
src/mesa/shader/slang/slang_link.c