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:
Timothy Arceri 2024-06-03 15:44:45 +10:00 committed by Marge Bot
parent 000d2d0b96
commit 39cc1a4ac4

View file

@ -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: