glsl: add support for glsl es 310/320 to standalone compiler
This simple helps detect if we are using es or not. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29522>
This commit is contained in:
committed by
Marge Bot
parent
000d2d0b96
commit
39cc1a4ac4
@@ -380,6 +380,8 @@ standalone_compile_shader(const struct standalone_options *_options,
|
||||
switch (options->glsl_version) {
|
||||
case 100:
|
||||
case 300:
|
||||
case 310:
|
||||
case 320:
|
||||
glsl_es = true;
|
||||
break;
|
||||
case 110:
|
||||
|
||||
Reference in New Issue
Block a user