mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 21:50:12 +01:00
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:
parent
000d2d0b96
commit
39cc1a4ac4
1 changed files with 2 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue