mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-06 07:48:38 +09:00
Issue #1354 - Don't allow glsl[130,400] unless we have gpu_shader5
- Teach GLContext about gpu_shader5 - Downgrade shader language version if gpu_shader5 support isn't found.
This commit is contained in:
parent
5b8610f989
commit
9f7f1d457f
4 changed files with 30 additions and 0 deletions
|
|
@ -331,6 +331,18 @@ static const FeatureInfo sFeatureInfoArr[] = {
|
|||
GLContext::Extensions_End
|
||||
}
|
||||
},
|
||||
{
|
||||
"gpu_shader5",
|
||||
GLVersion::GL4,
|
||||
GLESVersion::NONE,
|
||||
GLContext::Extension_None,
|
||||
{
|
||||
GLContext::ARB_gpu_shader5,
|
||||
GLContext::EXT_gpu_shader5,
|
||||
GLContext::NV_gpu_shader5,
|
||||
GLContext::Extensions_End
|
||||
}
|
||||
},
|
||||
{
|
||||
"instanced_arrays",
|
||||
GLVersion::GL3_3,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue