mirror of
https://github.com/nigels-com/glew.git
synced 2024-11-24 06:45:07 +00:00
Fix issue #355 - GL_NVX_progress_fence missing glCreateProgressFenceNVX
This commit is contained in:
parent
35d928bc77
commit
1d7eade5db
@ -481,8 +481,9 @@ EOT
|
|||||||
head -n4 $1/GL_AMD_gpu_shader_int64 > tmp
|
head -n4 $1/GL_AMD_gpu_shader_int64 > tmp
|
||||||
mv tmp $1/GL_AMD_gpu_shader_int64
|
mv tmp $1/GL_AMD_gpu_shader_int64
|
||||||
|
|
||||||
# Filter out GL_NO_ERROR enum from GL_KHR_robustness
|
# Filter out GL_NO_ERROR enum and glGetGraphicsResetStatus from GL_KHR_robustness
|
||||||
grep -v 'GL_NO_ERROR' $1/GL_KHR_robustness > tmp
|
grep -v 'GL_NO_ERROR' $1/GL_KHR_robustness |
|
||||||
|
grep -v 'glGetGraphicsResetStatus' > tmp
|
||||||
mv tmp $1/GL_KHR_robustness
|
mv tmp $1/GL_KHR_robustness
|
||||||
|
|
||||||
# Filter out all enums from GL_KHR_blend_equation_advanced_coherent
|
# Filter out all enums from GL_KHR_blend_equation_advanced_coherent
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
my %regex = (
|
my %regex = (
|
||||||
extname => qr/^[A-Z][A-Za-z0-9_]+$/,
|
extname => qr/^[A-Z][A-Za-z0-9_]+$/,
|
||||||
exturl => qr/^http.+$/,
|
exturl => qr/^http.+$/,
|
||||||
function => qr/^(.+) ([a-z][a-z0-9_]*) \((.+)\)$/i,
|
function => qr/^(.+) ([a-z][a-z0-9_]*) \((.*)\)$/i,
|
||||||
token => qr/^([A-Z][A-Z0-9_x]*)\s+((?:0x)?[0-9A-Fa-f]+(u(ll)?)?|[A-Z][A-Z0-9_]*)$/,
|
token => qr/^([A-Z][A-Z0-9_x]*)\s+((?:0x)?[0-9A-Fa-f]+(u(ll)?)?|[A-Z][A-Z0-9_]*)$/,
|
||||||
type => qr/^typedef\s+(.+)$/,
|
type => qr/^typedef\s+(.+)$/,
|
||||||
exact => qr/.*;$/,
|
exact => qr/.*;$/,
|
||||||
|
@ -158,7 +158,7 @@ my %regex = (
|
|||||||
eofnc => qr/(?:\);?$|^$)/, # )$ | );$ | ^$
|
eofnc => qr/(?:\);?$|^$)/, # )$ | );$ | ^$
|
||||||
extname => qr/^[A-Z][A-Za-z0-9_]+$/,
|
extname => qr/^[A-Z][A-Za-z0-9_]+$/,
|
||||||
none => qr/^\(none\)$/,
|
none => qr/^\(none\)$/,
|
||||||
function => qr/^(.+) ([a-z][a-z0-9_]*) \((.+)\)$/i,
|
function => qr/^(.+) ([a-z][a-z0-9_]*) \((.*)\)$/i,
|
||||||
prefix => qr/^(?:[aw]?gl|glX|egl)/, # gl | agl | wgl | glX
|
prefix => qr/^(?:[aw]?gl|glX|egl)/, # gl | agl | wgl | glX
|
||||||
tprefix => qr/^(?:[AW]?GL|GLX|EGL)_/, # GL_ | AGL_ | WGL_ | GLX_
|
tprefix => qr/^(?:[AW]?GL|GLX|EGL)_/, # GL_ | AGL_ | WGL_ | GLX_
|
||||||
section => compile_regex('^(', join('|', @sections), ')$'), # sections in spec
|
section => compile_regex('^(', join('|', @sections), ')$'), # sections in spec
|
||||||
@ -258,6 +258,10 @@ sub parse_spec($)
|
|||||||
$parms =~ s/$regex{voidtype}/$voidtypemap{$1}/og;
|
$parms =~ s/$regex{voidtype}/$voidtypemap{$1}/og;
|
||||||
$parms =~ s/GLvoid/void/og;
|
$parms =~ s/GLvoid/void/og;
|
||||||
$parms =~ s/ void\* / void */og;
|
$parms =~ s/ void\* / void */og;
|
||||||
|
if ($parms eq "")
|
||||||
|
{
|
||||||
|
$parms = "void"; # NVX_progress_fence and others
|
||||||
|
}
|
||||||
}
|
}
|
||||||
# add to functions hash
|
# add to functions hash
|
||||||
$functions{$name} = {
|
$functions{$name} = {
|
||||||
|
Loading…
Reference in New Issue
Block a user